public class WindwardException
extends java.lang.Exception
Constructor and Description |
---|
WindwardException()
Constructs a new exception with
null as its detail message. |
WindwardException(java.lang.String message)
Constructs a new exception with the specified detail message.
|
WindwardException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new exception with the specified detail message and
cause.
|
WindwardException(WindwardException src)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
DocumentPosition |
getDocPos()
The position in the document where this exception occured.
|
java.lang.String |
getFullTag()
If this error occured while processing a tag, this is the tag it was processing.
|
void |
setDocPos(DocumentPosition docPos)
The position in the document where this exception occured.
|
void |
setFullTag(java.lang.String tag)
If this error occured while processing a tag, this is the tag it was processing.
|
public WindwardException()
null
as its detail message.
The cause is not initialized, and may subsequently be initialized by a
call to Throwable.initCause(java.lang.Throwable)
.public WindwardException(java.lang.String message)
Throwable.initCause(java.lang.Throwable)
.message
- the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage()
method.public WindwardException(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 Throwable.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 WindwardException(WindwardException src)
src
- public java.lang.String getFullTag()
public void setFullTag(java.lang.String tag)
tag
- This exception occured while processing this tag.public DocumentPosition getDocPos()
public void setDocPos(DocumentPosition docPos)
docPos
- The position in the document where this exception occured. null if not set.Copyright © 2002-2021 Windward Studios, LLC. - All Rights Reserved. We are Java document generation software