com.ibm.as400.access
Class InternalErrorException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.ibm.as400.access.InternalErrorException
All Implemented Interfaces:
ReturnCodeException, java.io.Serializable

public class InternalErrorException
extends java.lang.RuntimeException
implements ReturnCodeException

The InternalErrorException class represents an exception that indicates that an internal error has occurred. Instances of this class represent problems in the supplied code. Contact your service representative to report the problem.

See Also:
Serialized Form

Field Summary
static int DATA_STREAM_LEVEL_NOT_VALID
          The return code indicating that the server job cannot support the level of data streams that the client is using.
static int DATA_STREAM_UNKNOWN
          The return code indicating that the data stream received from the server job was not of the type or format expected.
static int PASSWORD_IMPROPERLY_ENCRYPTED
          The return code indicating that the password has not been encrypted properly (pre-V2R2 encryption may have been used).
static int PROTOCOL_ERROR
          The return code indicating that a protocol error occurred while communicating with the server.
static int SECURITY_INVALID_STATE
          The return code indicating that the security manager is in a state that is not valid.
static int SYNTAX_ERROR
          The return code indicating that the server job received a data stream that had data or a format that was not valid.
static int UNEXPECTED_EXCEPTION
          The return code indicating that an unexpected exception was received.
static int UNEXPECTED_RETURN_CODE
          The return code indicating that an unexpected return code was received.
static int UNKNOWN
          The return code indicating that the exact cause of the failure is not known.
static int VRM_NOT_VALID
          The return code indicating that the server job cannot support this version of the client.
 
Constructor Summary
InternalErrorException(int returnCode)
          Constructs an InternalErrorException object.
 
Method Summary
 int getReturnCode()
          Returns the return code associated with this exception.
 
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
 

Field Detail

DATA_STREAM_LEVEL_NOT_VALID

public static final int DATA_STREAM_LEVEL_NOT_VALID
The return code indicating that the server job cannot support the level of data streams that the client is using.

DATA_STREAM_UNKNOWN

public static final int DATA_STREAM_UNKNOWN
The return code indicating that the data stream received from the server job was not of the type or format expected.

PASSWORD_IMPROPERLY_ENCRYPTED

public static final int PASSWORD_IMPROPERLY_ENCRYPTED
The return code indicating that the password has not been encrypted properly (pre-V2R2 encryption may have been used).

PROTOCOL_ERROR

public static final int PROTOCOL_ERROR
The return code indicating that a protocol error occurred while communicating with the server.

SYNTAX_ERROR

public static final int SYNTAX_ERROR
The return code indicating that the server job received a data stream that had data or a format that was not valid.

UNKNOWN

public static final int UNKNOWN
The return code indicating that the exact cause of the failure is not known. The detailed message may contain additional information.

VRM_NOT_VALID

public static final int VRM_NOT_VALID
The return code indicating that the server job cannot support this version of the client.

SECURITY_INVALID_STATE

public static final int SECURITY_INVALID_STATE
The return code indicating that the security manager is in a state that is not valid.

UNEXPECTED_RETURN_CODE

public static final int UNEXPECTED_RETURN_CODE
The return code indicating that an unexpected return code was received.

UNEXPECTED_EXCEPTION

public static final int UNEXPECTED_EXCEPTION
The return code indicating that an unexpected exception was received.
Constructor Detail

InternalErrorException

public InternalErrorException(int returnCode)
Constructs an InternalErrorException object. It indicates that an internal error has occurred.
Parameters:
returnCode - The return code which identifies the message to be returned.
Method Detail

getReturnCode

public int getReturnCode()
Returns the return code associated with this exception.
Specified by:
getReturnCode in interface ReturnCodeException
Returns:
The return code.