public class DefinitionException extends DefinitionException
| Constructor and Description |
|---|
DefinitionException(List<Throwable> errors)
Creates a new exception based on a list of throwables.
|
DefinitionException(String message)
Creates a new exception with the given localized message.
|
DefinitionException(String message,
Throwable throwable)
Creates a new exception with the given localized message and the cause for this exception.
|
DefinitionException(Throwable throwable)
Creates a new exception with the given cause.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLocalizedMessage() |
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DefinitionException(Throwable throwable)
throwable - The cause of the exceptionpublic DefinitionException(List<Throwable> errors)
errors - A list of throwables to use in the messagepublic DefinitionException(String message)
message - public String getLocalizedMessage()
getLocalizedMessage in class Throwablepublic String getMessage()
getMessage in class ThrowableCopyright © 2015. All Rights Reserved.