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, setErrorCode, setLinkedException |
RecordTranslationException
public RecordTranslationException(String reason)
RecordTranslationException
public RecordTranslationException(String reason,
javax.resource.cci.Record badRecord)
getMessage
public String getMessage()
- Overrides:
getMessage
in class javax.resource.ResourceException
getRecord
public javax.resource.cci.Record getRecord()
- get the Record that caused the exception
- Returns:
- the record causing the exception
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintStream ps)
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintWriter pw)
- Overrides:
printStackTrace
in class Throwable