|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException com.ibm.as400.access.InternalErrorException
public class InternalErrorException extends RuntimeException implements ReturnCodeException
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.
Modifier and Type | Field and Description |
---|---|
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 system. |
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 and Description |
---|
InternalErrorException(int returnCode)
Constructs an InternalErrorException object. |
Modifier and Type | Method and Description |
---|---|
int |
getReturnCode()
Returns the return code associated with this exception. |
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 |
Field Detail |
---|
public static final int DATA_STREAM_LEVEL_NOT_VALID
public static final int DATA_STREAM_UNKNOWN
public static final int PASSWORD_IMPROPERLY_ENCRYPTED
public static final int PROTOCOL_ERROR
public static final int SYNTAX_ERROR
public static final int UNKNOWN
public static final int VRM_NOT_VALID
public static final int SECURITY_INVALID_STATE
public static final int UNEXPECTED_RETURN_CODE
public static final int UNEXPECTED_EXCEPTION
Constructor Detail |
---|
public InternalErrorException(int returnCode)
returnCode
- The return code which identifies the message to be returned.Method Detail |
---|
public int getReturnCode()
getReturnCode
in interface ReturnCodeException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |