|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.reverseXSL.exception.FormattedException
public class FormattedException
FormattedException is the root of all exceptions that are handled according to the 'i18n' multi-language support standard by the reverseXSL software.
This class is abstract to ensure that an implementation only throws a specific exception (e.g. ParserException) which is a sub-class.
Implementations of methods that throw FormattedException often bear throw clauses that are more specific than FormattedException (i.e. child classes references).
MessageFormat,
Serialized Form| Method Summary | |
|---|---|
java.lang.Throwable |
getCause()
|
java.lang.String |
getLocalizedMessage()
|
java.lang.String |
getMessage()
Get the formatted message through the FormattingService, itself based on MessageFormat. |
java.lang.String |
toString()
Similar to getMessage(), prefixed with the error code. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.Throwable getCause()
getCause in class java.lang.Throwablepublic java.lang.String getLocalizedMessage()
getLocalizedMessage in class java.lang.Throwablepublic java.lang.String getMessage()
MessageFormat.
getMessage in class java.lang.Throwablepublic java.lang.String toString()
getMessage(), prefixed with the error code.
toString in class java.lang.Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||