|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.eclipse.hyades.logging.events.cbe.EventException
org.eclipse.hyades.logging.events.cbe.FormattingException
Exception thrown by the EventFormatter
methods to indicate that
a serialization or de-serialization error has occurred.
Field Summary |
---|
Fields inherited from class org.eclipse.hyades.logging.events.cbe.EventException |
---|
file, key, parms |
Constructor Summary | |
---|---|
FormattingException()
Simple constructor. |
|
FormattingException(java.lang.Exception cause)
Construct a new FormattingException with
a null detail message and a cause field set to the specified
Throwable. |
|
FormattingException(java.lang.String msg)
Constructs a FormattingException with the specified detail
message. |
|
FormattingException(java.lang.String key,
java.lang.String file)
Creates a FormattingException with a detail message, message
translation information (resource bundle, message key and message
substitutions). |
|
FormattingException(java.lang.String key,
java.lang.String file,
java.lang.Object[] parms)
Creates a FormattingException with a detail message, message
translation information (resource bundle, message key and message
substitutions). |
|
FormattingException(java.lang.String key,
java.lang.String file,
java.lang.Object[] parms,
java.lang.Throwable cause)
Creates a FormattingException with a detail message, message
translation information (resource bundle, message key and message
substitutions) and a nested exception. |
Methods inherited from class org.eclipse.hyades.logging.events.cbe.EventException |
---|
getCause, getKey, getLocalizedMessage, getLocalizedMessage, getMessage, initCause, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FormattingException()
public FormattingException(java.lang.String msg)
FormattingException
with the specified detail
message.
msg
- the detail messagepublic FormattingException(java.lang.String key, java.lang.String file)
FormattingException
with a detail message, message
translation information (resource bundle, message key and message
substitutions).
key
- The message key.file
- The name of the message file to use.public FormattingException(java.lang.String key, java.lang.String file, java.lang.Object[] parms)
FormattingException
with a detail message, message
translation information (resource bundle, message key and message
substitutions).
key
- The message key.file
- The name of the message file to use.parms
- An array of elements to be inserted into the message.public FormattingException(java.lang.String key, java.lang.String file, java.lang.Object[] parms, java.lang.Throwable cause)
FormattingException
with a detail message, message
translation information (resource bundle, message key and message
substitutions) and a nested exception.
key
- The message key.file
- The name of the message file to use.parms
- An array of elements to be inserted into the message.cause
- The nested exception, or null
, if a nested
exception is not appropriate.public FormattingException(java.lang.Exception cause)
FormattingException
with
a null detail message and a cause field set to the specified
Throwable. Subsequent calls to the EventException.initCause(java.lang.Throwable)
method
on this instance will result in an exception. The value of
the cause field may be retrieved at any time via the EventException.getCause()
method.
cause
- the Throwable that was caught and is considered
the root cause of this exception. Null is tolerated.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |