|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--org.eclipse.hyades.logging.events.cbe.EventException | +--org.eclipse.hyades.logging.events.cbe.ValidationException | +--org.eclipse.hyades.logging.events.cbe.MissingPropertyException
Validation exception used to indicate that a mandatory property, according to the CBE specification, is not present within a class representing an element of that specification.
Field Summary |
---|
Fields inherited from class org.eclipse.hyades.logging.events.cbe.EventException |
---|
key, parameters, resourceBundleName |
Constructor Summary | |
---|---|
MissingPropertyException()
Simple constructor. |
|
MissingPropertyException(java.lang.String message)
Constructs a MissingPropertyException with the specified
detail message. |
|
MissingPropertyException(java.lang.String key,
java.lang.String resourceBundleName)
Creates a MissingPropertyException with a detail message, message
translation information (resource bundle, message key and message
substitutions). |
|
MissingPropertyException(java.lang.String key,
java.lang.String resourceBundleName,
java.lang.Object[] parameters)
Creates a MissingPropertyException with a detail message, message
translation information (resource bundle, message key and message
substitutions). |
|
MissingPropertyException(java.lang.String key,
java.lang.String resourceBundleName,
java.lang.Object[] parameters,
java.lang.Throwable cause)
Creates a MissingPropertyException with a detail message, message
translation information (resource bundle, message key and message
substitutions) and a nested exception. |
|
MissingPropertyException(java.lang.String message,
java.lang.Throwable cause)
Constructs a MissingPropertyException with the specified
detail message and a nested exception. |
|
MissingPropertyException(java.lang.Throwable cause)
Construct a new MissingPropertyException with
a null detail message and a cause field set to the specified
Throwable. |
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 MissingPropertyException()
public MissingPropertyException(java.lang.String message)
MissingPropertyException
with the specified
detail message.
message
- the detail messagepublic MissingPropertyException(java.lang.String message, java.lang.Throwable cause)
MissingPropertyException
with the specified
detail message and a nested exception.
message
- the detail messagecause
- The nested exception, or null
, if a nested
exception is not appropriate.public MissingPropertyException(java.lang.String key, java.lang.String resourceBundleName)
MissingPropertyException
with a detail message, message
translation information (resource bundle, message key and message
substitutions).
key
- The message key.resourceBundleName
- The name of the message ResourceBundle to use.public MissingPropertyException(java.lang.Throwable cause)
MissingPropertyException
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.public MissingPropertyException(java.lang.String key, java.lang.String resourceBundleName, java.lang.Object[] parameters)
MissingPropertyException
with a detail message, message
translation information (resource bundle, message key and message
substitutions).
key
- The message key.resourceBundleName
- The name of the message ResourceBundle to use.parameters
- An array of elements to be inserted into the message.public MissingPropertyException(java.lang.String key, java.lang.String resourceBundleName, java.lang.Object[] parameters, java.lang.Throwable cause)
MissingPropertyException
with a detail message, message
translation information (resource bundle, message key and message
substitutions) and a nested exception.
key
- The message key.resourceBundleName
- The name of the message ResourceBundle to use.parameters
- An array of elements to be inserted into the message.cause
- The nested exception, or null
, if a nested
exception is not appropriate.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |