atg.droplet
Class TagConversionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.servlet.ServletException
              extended by atg.droplet.TagConversionException
All Implemented Interfaces:
java.io.Serializable

public class TagConversionException
extends javax.servlet.ServletException

This exception is thrown by TagConverters when they encounter an error during the conversion process.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
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.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

TagConversionException

public TagConversionException(java.lang.String pStr)
Constructs a new TagConversionException with the given explanation.

Parameters:
pStr - the explanation

TagConversionException

public TagConversionException(java.lang.String pStr,
                              java.lang.String pErrorCode)
Constructs a new TagConversionException with the given explanation and error code.

Parameters:
pStr - the explanation
pErrorCode - the error code

TagConversionException

public TagConversionException(java.lang.String pStr,
                              java.lang.Throwable pRootCause,
                              java.lang.String pErrorCode)
Constructs a new TagConversionException with the given explanation and root exception.

Parameters:
pStr - the explanation
pRootCause - the root cause
pErrorCode - the error code
Method Detail

getRootCause

public java.lang.Throwable getRootCause()
Returns the root exception that caused this exception

Overrides:
getRootCause in class javax.servlet.ServletException

setErrorCode

public void setErrorCode(java.lang.String pErrorCode)
Sets the property ErrorCode.


getErrorCode

public java.lang.String getErrorCode()
Returns:
The value of the property ErrorCode.