com.ibm.dse.base.types
Class DSETypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.dse.base.DSEException
com.ibm.dse.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
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 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 |
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
- Stringcode
- Stringmessage
- StringnestedException
- Exception
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.dse.base.types.DSETypeException
getNestedException
public java.lang.Exception getNestedException()
- Returns the original exception thrown, if any, which resulted in this exception being created.
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
(c) Copyright IBM Corporation 1998, 2005