|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--openfuture.util.error.I18NException
Exception containing the (internationalizable) description of the reason why this exception occured and the resulting situation. (After ideas from Bug Base).
Created: Wed Nov 01 17:03:53 2000
Constructor Summary | |
I18NException(Message description)
Create a new instance. |
|
I18NException(Message description,
I18NException exception)
Derive a new instance from an existing one. |
|
I18NException(Message description,
Message[] reasons)
Create a new instance. |
Method Summary | |
Message |
getDescription()
Get the value of description. |
java.lang.String |
getMessage()
|
java.lang.String |
getMessage(java.util.ResourceBundle bundle)
|
Message[] |
getReasons()
Get the value of reasons. |
void |
setDescription(Message v)
Set the value of description. |
void |
setReasons(Message[] v)
Set the value of reasons. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public I18NException(Message description)
description
- Message describing the exception.reasons
- array of messages holding the reasons, why
this exception occured.public I18NException(Message description, Message[] reasons)
description
- Message describing the exception.reasons
- array of messages holding the reasons, why
this exception occured.public I18NException(Message description, I18NException exception)
description
- Message describing the exception.exception
- array of messages holding the reasons, why
this exception occured. The description of
exception
is prepended to its reason
messages and the result is the new set of reason messages.Method Detail |
public java.lang.String getMessage(java.util.ResourceBundle bundle)
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public Message getDescription()
public void setDescription(Message v)
v
- Value to assign to description.public Message[] getReasons()
public void setReasons(Message[] v)
v
- Value to assign to reasons.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |