com.ibm.ims.rds
Class RDSException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.ibm.ims.rds.RDSException
- All Implemented Interfaces:
- java.io.Serializable
- public class RDSException
- extends java.lang.Exception
Thrown to indicate an error has occurred. These include all errors that occur in the
Java space, not those that occur while processing an IMS/DLI call and are propagated
back.
- See Also:
- Serialized Form
Constructor Summary |
RDSException(java.lang.String message)
Creates an exception with the specified error message. |
RDSException(java.lang.String message,
int code,
java.io.PrintWriter logWriter,
int traceLevel)
Creates an exception with the specified error message and internal error code. |
RDSException(java.lang.String message,
java.io.PrintWriter logWriter,
int traceLevel)
Creates an exception with the specified error message. |
Method Summary |
int |
getErrorCode()
Returns the internal error code. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RDSException
public RDSException(java.lang.String message)
- Creates an exception with the specified error message. The internal error code
defaults to zero.
- Parameters:
message
- the error message
RDSException
public RDSException(java.lang.String message,
java.io.PrintWriter logWriter,
int traceLevel)
- Creates an exception with the specified error message. The internal error code
defaults to zero.
- Parameters:
message
- the error message
RDSException
public RDSException(java.lang.String message,
int code,
java.io.PrintWriter logWriter,
int traceLevel)
- Creates an exception with the specified error message and internal error code.
- Parameters:
message
- the error messagecode
- the internal error code
getErrorCode
public int getErrorCode()
- Returns the internal error code. If there is no internal error code, 0 is returned.
(C) International Business Machines Corporation 2004. All rights reserved.