|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.channels.error.ErrorDocument
public class ErrorDocument
Represents an error renderable by CError.
Field Summary | |
---|---|
private java.lang.String |
channelName
The name of the channel the error state of which this object instance represents. |
private java.lang.String |
channelSubscribeId
Identifies the channel the error state of which this object instance represents. |
private ErrorCode |
code
The error code to be presented in the document. |
private java.lang.String |
message
A message about the error represented by this instance. |
private java.lang.Throwable |
throwable
A Throwable which was or caused the error represented by this instance. |
private IThrowableToElement |
throwableToElement
Translator from Throwable to Element of our XML production. |
Constructor Summary | |
---|---|
ErrorDocument()
|
Method Summary | |
---|---|
java.lang.String |
getChannelName()
|
java.lang.String |
getChannelSubscribeId()
|
ErrorCode |
getCode()
|
org.w3c.dom.Document |
getDocument()
Get a Document representing the Throwable. |
java.lang.String |
getMessage()
|
java.lang.Throwable |
getThrowable()
|
IThrowableToElement |
getThrowableToElement()
|
void |
setChannelName(java.lang.String channelName)
|
void |
setChannelSubscribeId(java.lang.String channelSubscribeId)
|
void |
setCode(ErrorCode code)
|
void |
setMessage(java.lang.String message)
|
void |
setThrowable(java.lang.Throwable throwable)
|
void |
setThrowableToElement(IThrowableToElement throwableToElement)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.Throwable throwable
private java.lang.String message
private java.lang.String channelSubscribeId
private java.lang.String channelName
private ErrorCode code
private IThrowableToElement throwableToElement
Constructor Detail |
---|
public ErrorDocument()
Method Detail |
---|
public org.w3c.dom.Document getDocument()
public java.lang.String getChannelName()
public void setChannelName(java.lang.String channelName)
channelName
- The channelName to set.public java.lang.String getChannelSubscribeId()
public void setChannelSubscribeId(java.lang.String channelSubscribeId)
channelSubscribeId
- The channelSubscribeId to set.public ErrorCode getCode()
public void setCode(ErrorCode code)
code
- The code to set.public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message
- The message to set.public java.lang.Throwable getThrowable()
public void setThrowable(java.lang.Throwable throwable)
throwable
- The throwable to set.public IThrowableToElement getThrowableToElement()
public void setThrowableToElement(IThrowableToElement throwableToElement)
throwableToElement
- The throwableToElement to set.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |