org.apache.derby.impl.drda
Class DRDAProtocolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.derby.impl.drda.DRDAProtocolException
- All Implemented Interfaces:
- java.io.Serializable
- public class DRDAProtocolException
- extends java.lang.Exception
- See Also:
- Serialized Form
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NO_ASSOC_ERRCD
protected static final int NO_ASSOC_ERRCD
- See Also:
- Constant Field Values
NO_CODPNT_ARG
protected static final int NO_CODPNT_ARG
- See Also:
- Constant Field Values
agent
private DRDAConnThread agent
correlationID
private int correlationID
crrtkn
private byte[] crrtkn
codpntArg
private int codpntArg
exceptionInfo
private DRDAProtocolExceptionInfo exceptionInfo
errorCodePoint
private int errorCodePoint
svrcod
private int svrcod
errcd
private int errcd
messageid
private java.lang.String messageid
rdbnam
private java.lang.String rdbnam
srvdgn
private java.lang.String srvdgn
messageArgs
private java.lang.Object[] messageArgs
errorInfoTable
private static java.util.Hashtable errorInfoTable
DRDA_Proto_CMDCHKRM
protected static java.lang.String DRDA_Proto_CMDCHKRM
DRDA_Proto_CMDNSPRM
protected static java.lang.String DRDA_Proto_CMDNSPRM
DRDA_Proto_DTAMCHRM
protected static java.lang.String DRDA_Proto_DTAMCHRM
DRDA_Proto_OBJNSPRM
protected static java.lang.String DRDA_Proto_OBJNSPRM
DRDA_Proto_PKGBNARM
protected static java.lang.String DRDA_Proto_PKGBNARM
DRDA_Proto_PRCCNVRM
protected static java.lang.String DRDA_Proto_PRCCNVRM
DRDA_Proto_PRMNSRM
protected static java.lang.String DRDA_Proto_PRMNSRM
DRDA_Proto_SYNTAXRM
protected static java.lang.String DRDA_Proto_SYNTAXRM
DRDA_Proto_VALNSPRM
protected static java.lang.String DRDA_Proto_VALNSPRM
DRDA_Proto_MGRLVLRM
protected static java.lang.String DRDA_Proto_MGRLVLRM
DRDA_Proto_RDBNFNRM
protected static java.lang.String DRDA_Proto_RDBNFNRM
DRDA_Disconnect
protected static java.lang.String DRDA_Disconnect
DRDA_AgentError
protected static java.lang.String DRDA_AgentError
DRDAProtocolException
protected DRDAProtocolException(java.lang.String msgid,
DRDAConnThread agent,
int cpArg,
int errCdArg,
java.lang.Object[] args)
- Create a new Protocol exception
- Parameters:
agent
- DRDAConnThread that threw this exceptioncpArg
- CODPNT value to pass to sendmsgid
- The messageid for this message. (needs to be
integrated into logging mechanism)args
- Argments for the message in an Object[]
DRDAProtocolException
protected DRDAProtocolException(java.lang.String msgid,
DRDAConnThread agent,
int cpArg,
int errCdArg)
newDisconnectException
protected static DRDAProtocolException newDisconnectException(DRDAConnThread agent,
java.lang.Object[] args)
newAgentError
protected static DRDAProtocolException newAgentError(DRDAConnThread agent,
int svrcod,
java.lang.String rdbnam,
java.lang.String srvdgn)
getCrrtkn
protected final byte[] getCrrtkn()
getCodpntArg
protected final int getCodpntArg()
getErrorCodePoint
protected final int getErrorCodePoint()
getSvrcod
protected final int getSvrcod()
getErrcd
protected final int getErrcd()
getMessageid
protected final java.lang.String getMessageid()
isDisconnectException
protected final boolean isDisconnectException()
write
protected void write(DDMWriter writer)
- write will write the Error information to the buffer.
Most errors will write only the codepoint and svrcod
Where appropriate the codepoint specific error code and
codePoint of origin will be written
- Parameters:
writer
- The DDMWriter for the agent.
Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.