public class TagConversionException
extends javax.servlet.ServletException
This exception is thrown by TagConverters when they encounter an error during the conversion process.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
TagConversionException(java.lang.String pStr)
Constructs a new TagConversionException with the given explanation.
|
TagConversionException(java.lang.String pStr,
java.lang.String pErrorCode)
Constructs a new TagConversionException with the given explanation and error code.
|
TagConversionException(java.lang.String pStr,
java.lang.Throwable pRootCause,
java.lang.String pErrorCode)
Constructs a new TagConversionException with the given explanation
and root exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorCode() |
java.lang.Throwable |
getRootCause()
Returns the root exception that caused this exception
|
void |
setErrorCode(java.lang.String pErrorCode)
Sets the property ErrorCode.
|
public TagConversionException(java.lang.String pStr)
pStr
- the explanationpublic TagConversionException(java.lang.String pStr, java.lang.String pErrorCode)
pStr
- the explanationpErrorCode
- the error codepublic TagConversionException(java.lang.String pStr, java.lang.Throwable pRootCause, java.lang.String pErrorCode)
pStr
- the explanationpRootCause
- the root causepErrorCode
- the error codepublic java.lang.Throwable getRootCause()
getRootCause
in class javax.servlet.ServletException
public void setErrorCode(java.lang.String pErrorCode)
public java.lang.String getErrorCode()