public class YAWLException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
protected static SAXBuilder |
_builder |
protected java.lang.String |
_message |
static java.lang.String |
MESSAGE_NM |
Constructor and Description |
---|
YAWLException() |
YAWLException(java.lang.String message) |
YAWLException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new exception with the specified detail message and
cause.
|
YAWLException(java.lang.Throwable cause)
Constructs a new exception with the specified cause and a detail
message of (cause==null ? null : cause.toString()) (which
typically contains the class and detail message of cause).
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
protected static java.lang.String |
parseMessage(Document exceptionDoc) |
void |
rethrow()
A convenience method that effectively rethrows the exceptions listed.
|
void |
setMessage(java.lang.String message) |
java.lang.String |
toXML() |
protected java.lang.String |
toXMLGuts() |
static YAWLException |
unmarshal(Document exceptionDoc) |
protected static SAXBuilder _builder
protected java.lang.String _message
public static final java.lang.String MESSAGE_NM
public YAWLException()
public YAWLException(java.lang.String message)
public YAWLException(java.lang.Throwable cause)
PrivilegedActionException
).cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)public YAWLException(java.lang.String message, java.lang.Throwable cause)
Note that the detail message associated with
cause
is not automatically incorporated in
this exception's detail message.
message
- the detail message (which is saved for later retrieval
by the getMessage()
method).cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String toXML()
protected java.lang.String toXMLGuts()
public static YAWLException unmarshal(Document exceptionDoc) throws JDOMException, java.io.IOException, java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
JDOMException
java.io.IOException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
protected static java.lang.String parseMessage(Document exceptionDoc)
public void setMessage(java.lang.String message)
public void rethrow() throws YStateException, YDataStateException, YQueryException, YPersistenceException
Copyright © 2004-2014 The YAWL Foundation.