public class ParserException extends Exception
SoapApiModelParser.| Constructor and Description |
|---|
ParserException(String message)
Exception with default error of type 'error'.
|
ParserException(String message,
Exception cause) |
ParserException(String message,
String property)
Exception with error message and property name.
|
ParserException(String message,
String property,
String error)
Exception with error message, type and property name.
|
ParserException(String message,
String property,
String error,
Exception cause)
Exception with error message, type and property name.
|
| Modifier and Type | Method and Description |
|---|---|
Violation |
toViolation() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ParserException(String message)
message - error message.public ParserException(String message, String property)
message - error message.property - property name.public ParserException(String message, String property, String error)
message - error message.property - property name.error - error type.public Violation toViolation()
Copyright © 2016–2021 Red Hat. All rights reserved.