|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.novell.xsl.XSLException
Signals that an XSL processor error occurred.
| Field Summary | |
static String |
ERROR_PROLOGUE
|
static String |
INVALID_RESULT_HANDLER
|
static String |
STYLESHEET_PARM_ERROR
|
static String |
WARNING_PROLOGUE
|
| Constructor Summary | |
XSLException()
Constructs an XSLException with no detail message. |
|
XSLException(String key)
Constructs an XSLException with the specified format message |
|
XSLException(String key,
boolean noError)
Constructs an XSLException with the specified format message and
error state. |
|
XSLException(String key,
String parm0)
Constructs an XSLException with the specified format message
and 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 |
boolean |
isError()
Return true if this exception is the result of an error or normal termination |
| 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 ERROR_PROLOGUE
public static final String WARNING_PROLOGUE
public static final String STYLESHEET_PARM_ERROR
public static final String INVALID_RESULT_HANDLER
| Constructor Detail |
public XSLException()
XSLException with no detail message.
public XSLException(String key)
XSLException with the specified format message
key - The key of the format message in the properties file
public XSLException(String key,
String parm0)
XSLException with the specified format message
and parameter
key - The key of the format message in the properties fileparm0 - The parameter for the format message
public XSLException(String key,
boolean noError)
XSLException with the specified format message and
error state.
key - The key of the format message in the properties filenoError - true if exception is being used to terminate processing
because of a non-error condition (xsl:message terminate="yes" for example)| Method Detail |
public boolean isError()
true if this exception is the result of an error or normal termination
true if this exception is an error
public 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 | |||||||||