public interface IBaseException
Modifier and Type | Method and Description |
---|---|
long |
getCode() |
java.lang.String |
getFormatString() |
java.lang.String |
getLocalizedMessage()
Returns the translated message that describes the exception.
|
java.lang.String |
getLocalizedMessage(ExceptionTranslator translator,
int indent)
Returns the translated message that
describes the exception with indentation.
|
java.lang.String |
getLocalizedMessageStack()
Crosses the exceptions chained through cause
to conform the compound message in the corresponding language.
|
java.lang.String |
getLocalizedMessageStack(ExceptionTranslator translator,
int indent)
Crosses the exceptions chained through cause
to conform the compound message in the corresponding language.
|
java.lang.String |
getMessage()
Returns the message that describes the exception.
|
java.lang.String |
getMessage(int indent)
Returns the message that describes the exception, with indentation.
|
java.lang.String |
getMessageKey() |
java.lang.String |
getMessageStack()
Crosses the exceptions chained through cause to conform
the message.
|
java.lang.String |
getMessageStack(int indent)
Crosses the exceptions chained through cause to conform
the compound message with indentation.
|
java.lang.Object |
getValue(java.lang.String name) |
java.util.Iterator |
iterator() |
java.lang.String getMessage()
java.lang.String getMessage(int indent)
indent
- Quantity of blanks to insert
at the start of the message.java.lang.String getLocalizedMessage()
java.lang.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.java.lang.String getMessageStack()
java.lang.String getMessageStack(int indent)
indent
- Quantity of blanks to insert
at the start of the messages.java.lang.String getLocalizedMessageStack()
java.lang.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()
java.lang.String getFormatString()
java.lang.String getMessageKey()
java.lang.Object getValue(java.lang.String name)
java.util.Iterator iterator()