|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--com.lotus.xsl.server.ApplyXSLException
Wrapper for exceptions occurring during apply XSL processing. Allows for exceptions to be returned with an associated HTTP Status Code.
Constructor Summary | |
ApplyXSLException()
Constructor for exception with no additional detail. |
|
ApplyXSLException(java.lang.Exception e)
Constructor for exception. |
|
ApplyXSLException(java.lang.Exception e,
int hsc)
Constructor for passed exception with HTTP status code. |
|
ApplyXSLException(int hsc)
Constructor for exception with HTTP status code. |
|
ApplyXSLException(java.lang.String s)
Constructor for exception with message. |
|
ApplyXSLException(java.lang.String s,
java.lang.Exception e)
Constructor for passed exception with message. |
|
ApplyXSLException(java.lang.String s,
java.lang.Exception e,
int hsc)
Constructor for passed exception with HTTP status code and message. |
|
ApplyXSLException(java.lang.String s,
int hsc)
Constructor for exception with message and HTTP status code. |
Method Summary | |
void |
appendMessage(java.lang.String s)
Appends string to exception message |
java.lang.Exception |
getException()
Returns the wrapped exception. |
java.lang.String |
getMessage()
Returns exception message |
int |
getStatusCode()
Returns the HTTP status code associated with the exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public ApplyXSLException()
public ApplyXSLException(java.lang.String s)
s
- Exception messagepublic ApplyXSLException(int hsc)
hsc
- Valid status code from javax.servlet.http.HttpServletResponsepublic ApplyXSLException(java.lang.String s, int hsc)
s
- Exception messagehsc
- Valid status code from javax.servlet.http.HttpServletResponsepublic ApplyXSLException(java.lang.Exception e)
e
- Exception to be wrapped.public ApplyXSLException(java.lang.String s, java.lang.Exception e)
s
- Exception messagee
- Exception to be wrapped.public ApplyXSLException(java.lang.Exception e, int hsc)
e
- Exception to be wrapped.hsc
- Valid status code from javax.servlet.http.HttpServletResponsepublic ApplyXSLException(java.lang.String s, java.lang.Exception e, int hsc)
s
- Exception messagee
- Exception to be wrapped.hsc
- Valid status code from javax.servlet.http.HttpServletResponseMethod Detail |
public java.lang.String getMessage()
public void appendMessage(java.lang.String s)
s
- String to be added to messagepublic java.lang.Exception getException()
public int getStatusCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |