com.ibm.ims.rds
Class RDSWarning
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.ibm.ims.rds.RDSWarning
- All Implemented Interfaces:
- java.io.Serializable
- public class RDSWarning
- extends java.lang.Exception
The RDSWarning class provides information when data was lost due to a type conversion.
For example, a field in an input message or database segment is defined as a
DLITypeInfo.DOUBLE
and retrieved as a Java short. Warnings are silently
chained to the object whose method caused it to be reported.
- See Also:
- Serialized Form
Constructor Summary |
RDSWarning(java.lang.String message)
Constructs an RDSWarning. |
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 |
RDSWarning
public RDSWarning(java.lang.String message)
- Constructs an RDSWarning.
getNextWarning
public RDSWarning getNextWarning()
- Get the warning chained to this one.
- Returns:
- the next RDSWarning in the chain, null if none
setNextWarning
public void setNextWarning(RDSWarning warning)
- Sets the next warning in the chain.
- Parameters:
warning
- com.ibm.ims.rds.RDSWarning
(C) International Business Machines Corporation 2004. All rights reserved.