|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
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
oracle.panama.PanamaException
The Panama Application Exception, is typically thrown on errors caused by invalid usage like mismatch in configuration parameters or due to broken business rules etc. etc...
This kind of error is non fatal, and most probably the System can continue without any Systems Administrations work.
NestedException
, Serialized FormConstructor Summary | |
PanamaException(java.lang.String msg) Construct a PanamaException with a plain message. |
|
PanamaException(java.lang.String code, java.lang.Object[] args) Construct a PanamaException with a message code and message arguments. |
|
PanamaException(java.lang.String msg, java.lang.String code, java.lang.Object[] args) Construct a PanamaException a detailed non-translated message, and a message to be translated. |
|
PanamaException(java.lang.Throwable detail) Construct a PanamaException with a nested exception, the message will be derived from the nested exception. |
|
PanamaException(java.lang.Throwable detail, java.lang.String msg) Construct a PanamaException with a nested exception and a message that will not be translated |
|
PanamaException(java.lang.Throwable detail, java.lang.String code, java.lang.Object[] args) Construct a PanamaException with a nested exception, and localized message code and arguments |
|
PanamaException(java.lang.Throwable detail, java.lang.String msg, java.lang.String code, java.lang.Object[] args) Construct a PanamaException with a nested exception, a message to be translated, and an untranslatable message used to provide additional information. |
Method Summary | |
java.lang.Throwable |
getDetail() Get the nested exception. |
java.lang.String |
getLocalizedMessage() |
java.lang.String |
getLocalizedMessage(java.util.Locale locale) |
java.lang.String |
getMessage() |
void |
setMessageArguments(java.lang.Object[] args) set the message arguments of the localized errors |
void |
setMessageCode(java.lang.String code) set the message code of the error (used for localization purposes) |
java.lang.String |
toString() |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PanamaException(java.lang.String msg)
msg
- the message.public PanamaException(java.lang.String code, java.lang.Object[] args)
code
- the message code.args
- message arguments.public PanamaException(java.lang.String msg, java.lang.String code, java.lang.Object[] args)
msg
- the nontranslatable message.code
- localized message code.args
- localized message arguments.getDetail()
public PanamaException(java.lang.Throwable detail)
detail
- the nested exception.getDetail()
public PanamaException(java.lang.Throwable detail, java.lang.String msg)
detail
- the nested exception.msg
- the untranslatable messagegetDetail()
public PanamaException(java.lang.Throwable detail, java.lang.String code, java.lang.Object[] args)
detail
- the nested exception.code
- localized message code.args
- localized message arguments.getDetail()
public PanamaException(java.lang.Throwable detail, java.lang.String msg, java.lang.String code, java.lang.Object[] args)
detail
- the nested exception.msg
- the untranslatable message.code
- localized message code.args
- localized message arguments.getDetail()
Method Detail |
public java.lang.Throwable getDetail()
getDetail
in interface oracle.xml.xforms.exception.NestedException
public java.lang.String getLocalizedMessage()
public java.lang.String getLocalizedMessage(java.util.Locale locale)
public java.lang.String getMessage()
public void setMessageArguments(java.lang.Object[] args)
args
- arraypublic void setMessageCode(java.lang.String code)
code
- codepublic java.lang.String toString()
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |