|
||||||||||
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 com.novell.xsl.result.ResultException
Thrown by a ResultHandler
when an error occurs while building
the result tree.
Field Summary | |
static String |
CANT_ENCODE_CHARACTER
|
Constructor Summary | |
ResultException()
Constructs a ResultException with no detail message. |
|
ResultException(Exception exception)
Constructs a ResultException that wraps the specified
exception. |
|
ResultException(String key)
Constructs a ResultException with the specified detail
message. |
|
ResultException(String key,
String parm0)
Constructs a ResultException with the specified detail
message and message parameter. |
Method Summary | |
static String |
constructMessage(String key,
Object[] parms)
Construct a message from a format message in the properties file and an array of parameters |
Exception |
getException()
Returns the wrapped exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 |
public static final String CANT_ENCODE_CHARACTER
Constructor Detail |
public ResultException()
ResultException
with no detail message.
public ResultException(String key)
ResultException
with the specified detail
message.
key
- the format message key from the properties filepublic ResultException(String key, String parm0)
ResultException
with the specified detail
message and message parameter.
key
- the format message key from the properties fileparm0
- the parameter for the format messagepublic ResultException(Exception exception)
ResultException
that wraps the specified
exception.
exception
- the wrapped exceptionMethod Detail |
public Exception getException()
null
if there is nonepublic static String constructMessage(String key, Object[] parms)
key
- The key of the message format string in the properties fileparms
- The parameters for the message format string
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |