|
Oracle Application Server Wireless Java API Reference B10400-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 | +--java.lang.RuntimeException | +--oracle.panama.PanamaRuntimeException
The Panama System Runtime Exception, is typically thrown on errors caused by severe errrors. The reason may be a program bug or a fatal error in one of the used sub-components as the Database etc.
This kind of error is fatal, and most probably there is need for some kind of System Administrations work to correct the System.
NestedException
, Serialized FormConstructor Summary | |
PanamaRuntimeException(java.lang.String msg) Construct with a plain message. | |
PanamaRuntimeException(java.lang.String code, java.lang.Object[] args) Construct a PanamaException with a message code and message arguments. | |
PanamaRuntimeException(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. | |
PanamaRuntimeException(java.lang.Throwable detail) | |
PanamaRuntimeException(java.lang.Throwable detail, java.lang.String msg) Construct a PanamaException with a nested exception and a detailed message (that will not be translated) | |
PanamaRuntimeException(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 | |
PanamaRuntimeException(java.lang.Throwable detail, java.lang.String msg, java.lang.String code, java.lang.Object[] args) Construct a PanamaException with a nested exception, a detailed non-translated message, and a message to be translated. |
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 PanamaRuntimeException(java.lang.String msg)
msg
- the message.public PanamaRuntimeException(java.lang.Throwable detail)
public PanamaRuntimeException(java.lang.String code, java.lang.Object[] args)
code
- the message code.args
- message arguments.public PanamaRuntimeException(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 PanamaRuntimeException(java.lang.Throwable detail, java.lang.String msg)
detail
- the nested exception.msg
- the non-translatable messagegetDetail()
public PanamaRuntimeException(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 PanamaRuntimeException(java.lang.Throwable detail, java.lang.String msg, java.lang.String code, java.lang.Object[] args)
detail
- the nested exception.msg
- the nontranslatable 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 void setMessageCode(java.lang.String code)
public void setMessageArguments(java.lang.Object[] args)
public java.lang.String getLocalizedMessage(java.util.Locale locale)
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Throwable
|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |