|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
at.spardat.xma.boot.exc.BootRuntimeException
| Field Summary | |
protected boolean |
showToEndUser_
As for runtime exceptions: Indicates if this exception may be shown to the end user or not. |
| Constructor Summary | |
protected |
BootRuntimeException()
For internal use only. |
|
BootRuntimeException(java.lang.String message)
Constructs and sets the message to the provided value. |
|
BootRuntimeException(java.lang.String message,
java.util.Locale l,
java.lang.Object[] params)
Constructs and sets the message from a format string as defined in java.text.MessageFormat. |
|
BootRuntimeException(java.lang.String messageFmt,
java.lang.Object param1)
Constructs and sets the message of this from a one parameter java.text.MessageFormat compatible string. |
|
BootRuntimeException(java.lang.String messageFmt,
java.lang.Object param1,
java.lang.Object param2)
Constructs and sets the message of this from a two parameter java.text.MessageFormat compatible string. |
|
BootRuntimeException(java.lang.Throwable detail,
java.lang.String message)
|
|
BootRuntimeException(java.lang.Throwable detail,
java.lang.String message,
java.util.Locale l,
java.lang.Object[] params)
Constructs and sets the message from a format string as defined in java.text.MessageFormat. |
| Method Summary | |
int |
getCode()
Returns the code set. |
java.lang.Throwable |
getDetail()
Returns the detail throwable. |
java.lang.String |
getMessage()
|
boolean |
getShowToEndUser()
|
BootRuntimeException |
setCode(int code)
Sets the code. |
BootRuntimeException |
setMessage(java.lang.String message)
Constructs and sets the message to the provided value. |
BootRuntimeException |
setMessage(java.lang.String message,
java.util.Locale l,
java.lang.Object[] params)
Sets the message from a format string as defined in java.text.MessageFormat. |
BootRuntimeException |
setMessage(java.lang.String messageFmt,
java.lang.Object param1)
Sets the message of this from a one parameter java.text.MessageFormat compatible string. |
BootRuntimeException |
setMessage(java.lang.String messageFmt,
java.lang.Object param1,
java.lang.Object param2)
Sets the message of this from a one parameter java.text.MessageFormat compatible string. |
BootRuntimeException |
setShowToEndUser(boolean bIn)
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected boolean showToEndUser_
| Constructor Detail |
protected BootRuntimeException()
public BootRuntimeException(java.lang.Throwable detail,
java.lang.String message,
java.util.Locale l,
java.lang.Object[] params)
detail - detail exception.message - string that either is a java.text.MessageFormat
or not, depending on params.l - a java.util.Locale to format locale
dependent data types or null if the
params do not contain local specifics.params - the parameters of the message. If not null, message
is expected to be a string compliant to MessageFormat.
public BootRuntimeException(java.lang.Throwable detail,
java.lang.String message)
public BootRuntimeException(java.lang.String messageFmt,
java.lang.Object param1,
java.lang.Object param2)
messageFmt - format string as defined in java.text.MessageFormat.param1 - first message parameterparam2 - second message parameter
public BootRuntimeException(java.lang.String messageFmt,
java.lang.Object param1)
messageFmt - format string as defined in java.text.MessageFormat.param1 - message parameterpublic BootRuntimeException(java.lang.String message)
message - message text.
public BootRuntimeException(java.lang.String message,
java.util.Locale l,
java.lang.Object[] params)
message - format string as defined in java.text.MessageFormat
or plain text that is not a MessageFormat, depending on paramsl - a java.util.Locale to format locale
dependent data types or null if the
params do not contain local specifics.params - the parameters of the message. If params is null,
message is not subject to MessageFormat-processing. If params
is not null, message must be compliant to
java.text.MessageFormat.| Method Detail |
public BootRuntimeException setMessage(java.lang.String message,
java.util.Locale l,
java.lang.Object[] params)
message - format string as defined in java.text.MessageFormat
or plain text that is not a MessageFormat, depending on paramsl - a java.util.Locale to format locale
dependent data types or null if the
params do not contain local specifics.params - the parameters of the message. If params is null,
message is not subject to MessageFormat-processing. If params
is not null, message must be compliant to
java.text.MessageFormat.
public BootRuntimeException setMessage(java.lang.String messageFmt,
java.lang.Object param1,
java.lang.Object param2)
messageFmt - format string as defined in java.text.MessageFormat.param1 - message parameterparam2 - message parameter
public BootRuntimeException setMessage(java.lang.String messageFmt,
java.lang.Object param1)
messageFmt - format string as defined in java.text.MessageFormat.param1 - message parameter
public BootRuntimeException setMessage(java.lang.String message)
message - text to set
public BootRuntimeException setCode(int code)
getCode()public int getCode()
public java.lang.String getMessage()
public java.lang.Throwable getDetail()
public BootRuntimeException setShowToEndUser(boolean bIn)
public boolean getShowToEndUser()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||