com.bea.connector
Class RecordTranslationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.resource.ResourceException
com.bea.connector.RecordTranslationException
- All Implemented Interfaces:
- Serializable
- public class RecordTranslationException
- extends javax.resource.ResourceException
This class extends a ResourceException and encapsulates the input
record that caused the exception; of course a ResourceException
already allows for a linked exception
- See Also:
- Serialized Form
Methods inherited from class javax.resource.ResourceException |
getErrorCode, getLinkedException, setLinkedException |
RecordTranslationException
public RecordTranslationException(String reason)
RecordTranslationException
public RecordTranslationException(String reason,
javax.resource.cci.Record badRecord)
getMessage
public String getMessage()
getRecord
public javax.resource.cci.Record getRecord()
- get the Record that caused the exception
- Returns:
- the record causing the exception
printStackTrace
public void printStackTrace()
printStackTrace
public void printStackTrace(PrintStream ps)
printStackTrace
public void printStackTrace(PrintWriter pw)