IBM Branch Transformation Toolkit Javadoc

com.ibm.btt.base.types
Class DSETypeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.btt.base.DSEException
              extended bycom.ibm.btt.base.types.DSETypeException
All Implemented Interfaces:
java.io.Serializable

public class DSETypeException
extends DSEException

This class is a subclass of the generic DSEException and is thrown when an unexpected error occurs during processing concerned with Types, Conversion or Validation.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.btt.base.DSEException
critical, harmless
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
DSETypeException(java.lang.String severity, java.lang.String code, java.lang.String message, java.lang.Exception nestedException)
          This constructor creates an instance of DSETypeException with the severity, code, message and nested exception passed as argument.
 
Method Summary
 DSETypeException chainTo(DSETypeException e)
          Chains our chain of exceptions into the chain of a given DSETypeException and returns the resulting chain.
 java.lang.Exception getNestedException()
          Returns the original exception thrown, if any, which resulted in this exception being created.
 void setNestedException(java.lang.Exception e)
          Sets the nested exception attribute
 java.lang.String toString()
          Returns this exception, formatted as a String.
 
Methods inherited from class com.ibm.btt.base.DSEException
getClassName, getCode, getMethodName, getSeverity, setClassName, setCode, setMethodName, setSeverity
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DSETypeException

public DSETypeException(java.lang.String severity,
                        java.lang.String code,
                        java.lang.String message,
                        java.lang.Exception nestedException)
This constructor creates an instance of DSETypeException with the severity, code, message and nested exception passed as argument.

Parameters:
severity - String
code - String
message - String
nestedException - Exception
Method Detail

chainTo

public DSETypeException chainTo(DSETypeException e)
Chains our chain of exceptions into the chain of a given DSETypeException and returns the resulting chain.

Parameters:
e - com.ibm.btt.base.types.DSETypeException

getNestedException

public java.lang.Exception getNestedException()
Returns the original exception thrown, if any, which resulted in this exception being created.

Returns:
Exception

setNestedException

public void setNestedException(java.lang.Exception e)
Sets the nested exception attribute

Parameters:
e - java.lang.Exception

toString

public java.lang.String toString()
Returns this exception, formatted as a String.

Returns:
String

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005