public interface IBaseException
Modifier and Type | Method and Description |
---|---|
long |
getCode() |
String |
getFormatString() |
String |
getLocalizedMessage()
Returns the translated message that describes the exception.
|
String |
getLocalizedMessage(ExceptionTranslator translator,
int indent)
Returns the translated message that
describes the exception with indentation.
|
String |
getLocalizedMessageStack()
Crosses the exceptions chained through cause
to conform the compound message in the corresponding language.
|
String |
getLocalizedMessageStack(ExceptionTranslator translator,
int indent)
Crosses the exceptions chained through cause
to conform the compound message in the corresponding language.
|
String |
getMessage()
Returns the message that describes the exception.
|
String |
getMessage(int indent)
Returns the message that describes the exception, with indentation.
|
String |
getMessageKey() |
String |
getMessageStack()
Crosses the exceptions chained through cause to conform
the message.
|
String |
getMessageStack(int indent)
Crosses the exceptions chained through cause to conform
the compound message with indentation.
|
Object |
getValue(String name) |
Iterator |
iterator() |
String getMessage()
String getMessage(int indent)
indent
- Quantity of blanks to insert
at the start of the message.String getLocalizedMessage()
String getLocalizedMessage(ExceptionTranslator translator, int indent)
translator
- Instance of a class that fulfills
the IExceptionTranslator interface.
His method "getText" takes charge returning
the expression, correspondent to the key that
delivers him, translated into the configured language.indent
- Quantity of blanks to insert
at the start of the message.String getMessageStack()
String getMessageStack(int indent)
indent
- Quantity of blanks to insert
at the start of the messages.String getLocalizedMessageStack()
String getLocalizedMessageStack(ExceptionTranslator translator, int indent)
translator
- Instance of a class that fulfills
the IExceptionTranslator interface.
His method "getText" takes charge returning
the expression, correspondent to the key that
delivers him, translated into the configured language.indent
- Quantity of blanks to insert
at the start of the messages.long getCode()
String getFormatString()
String getMessageKey()
Iterator iterator()