public class InvalidSchemaException extends RuntimeException
Usually, a data model is fully verified at validation time and any resulting error is added to the validation context without any need to throw an exception. However, there are three main use cases where an exception is required:
ValueFunction is
invalid, the caller can throw this exception.
| Constructor and Description |
|---|
InvalidSchemaException(String aMessage) |
InvalidSchemaException(String aMessage,
Throwable aCause) |
InvalidSchemaException(Throwable aCause) |
InvalidSchemaException(UserMessage aMessage) |
| Modifier and Type | Method and Description |
|---|---|
UserMessage |
getUserMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidSchemaException(UserMessage aMessage)
public InvalidSchemaException(String aMessage)
public InvalidSchemaException(Throwable aCause)
public UserMessage getUserMessage()