Oracle Security Developer Tools PKI SDK CMP Java API Reference
10g (10.1.4.0.1)

B28166-01


oracle.security.crypto.cmp.transport
Class ErrorTCPMsg.Code

java.lang.Object
  extended byoracle.security.crypto.cmp.transport.ErrorTCPMsg.Code

Enclosing class:
ErrorTCPMsg

public static class ErrorTCPMsg.Code
extends java.lang.Object

Error types consisting of a major category code and a minor error type code.


Field Summary
static int CLIENT_ERROR
          Major category 0x02 indicating a client-side error.
static ErrorTCPMsg.Code GENERAL_CLIENT_ERROR
          CLIENT_ERROR minor category 0x00 indicating a general client-side error.
static ErrorTCPMsg.Code GENERAL_SERVER_ERROR
          SERVER_ERROR minor category 0x00 indicating a general server-side error.
static ErrorTCPMsg.Code INVALID_MESSAGE_TYPE
          CLIENT_ERROR minor category 0x01 indicating a client-side invalid TCP message type error.
static ErrorTCPMsg.Code INVALID_POLL_ID
          CLIENT_ERROR minor category 0x02 indicating a client-side invalid TCP message polling ID error.
static int SERVER_ERROR
          Major category 0x03 indicating a server-side error.
static int VERSION_NEGOTIATION
          Major category 0x01 indicating that the error is in TCP-message version negotiation.
static ErrorTCPMsg.Code VERSION_NOT_SUPPORTED
          VERSION_NEGOTIATION minor category 0x01 indicating that the TCP message version is not supported.

 

Method Summary
 int getMajor()
           
 int getMinor()
           
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

VERSION_NEGOTIATION

public static final int VERSION_NEGOTIATION
Major category 0x01 indicating that the error is in TCP-message version negotiation.
See Also:
Constant Field Values

CLIENT_ERROR

public static final int CLIENT_ERROR
Major category 0x02 indicating a client-side error.
See Also:
Constant Field Values

SERVER_ERROR

public static final int SERVER_ERROR
Major category 0x03 indicating a server-side error.
See Also:
Constant Field Values

VERSION_NOT_SUPPORTED

public static final ErrorTCPMsg.Code VERSION_NOT_SUPPORTED
VERSION_NEGOTIATION minor category 0x01 indicating that the TCP message version is not supported.

GENERAL_CLIENT_ERROR

public static final ErrorTCPMsg.Code GENERAL_CLIENT_ERROR
CLIENT_ERROR minor category 0x00 indicating a general client-side error.

INVALID_MESSAGE_TYPE

public static final ErrorTCPMsg.Code INVALID_MESSAGE_TYPE
CLIENT_ERROR minor category 0x01 indicating a client-side invalid TCP message type error.

INVALID_POLL_ID

public static final ErrorTCPMsg.Code INVALID_POLL_ID
CLIENT_ERROR minor category 0x02 indicating a client-side invalid TCP message polling ID error.

GENERAL_SERVER_ERROR

public static final ErrorTCPMsg.Code GENERAL_SERVER_ERROR
SERVER_ERROR minor category 0x00 indicating a general server-side error.

Method Detail

getMajor

public int getMajor()

getMinor

public int getMinor()

toString

public java.lang.String toString()

Oracle Security Developer Tools PKI SDK CMP Java API Reference
10g (10.1.4.0.1)

B28166-01


Copyright © 2005 ,2006 , Oracle. All rights reserved.