com.ibm.as400.access
Class ServerStartupException

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

public class ServerStartupException
extends java.io.IOException
implements ReturnCodeException

The ServerStartupException class represents an exception that indicates that a server could not be started.

See Also:
Serialized Form

Field Summary
static int CONNECTION_NOT_ESTABLISHED
          The return code indicating that it was unable to establish a connection.
static int CONNECTION_NOT_PASSED_AUTHORITY
          The return code indicating that there was an error passing the connection to the server job.
static int CONNECTION_NOT_PASSED_LENGTH
          The return code indicating that there was an error passing the connection to the server job.
static int CONNECTION_NOT_PASSED_LIBRARY_AUTHORITY
          The return code indicating that there was an error passing the connection to the server job.
static int CONNECTION_NOT_PASSED_PRESTART_NOT_STARTED
          The return code indicating that there was an error passing the connection to the server job.
static int CONNECTION_NOT_PASSED_PROFILE
          The return code indicating that there was an error passing the connection to the server job.
static int CONNECTION_NOT_PASSED_PROGRAM_AUTHORITY
          The return code indicating that there was an error passing the connection to the server job.
static int CONNECTION_NOT_PASSED_PROGRAM_NOT_FOUND
          The return code indicating that there was an error passing the connection to the server job.
static int CONNECTION_NOT_PASSED_RECEIVER_AREA
          The return code indicating that there was an error passing the connection to the server job.
static int CONNECTION_NOT_PASSED_SERVER_ENDING
          The return code indicating that there was an error passing the connection to the server job.
static int CONNECTION_NOT_PASSED_SERVER_NOT_STARTED
          The return code indicating that there was an error passing the connection to the server job.
static int CONNECTION_NOT_PASSED_SUBSYSTEM
          The return code indicating that there was an error passing the connection to the server job.
static int CONNECTION_NOT_PASSED_TIMEOUT
          The return code indicating that there was an error passing the connection to the server job.
static int CONNECTION_NOT_PASSED_UNKNOWN
          The return code indicating that there was an error passing the connection to the server job.
static int CONNECTION_PORT_CANNOT_CONNECT_TO
          The return code indicating that it was unable to connect to the port.
static int PASSWORD_ENCRYPT_INVALID
          The return code indicating that it was password encryption indicator is not valid.
static int PASSWORD_LENGTH_NOT_VALID
          The return code indicating that it was password length is not valid.
static int RANDOM_SEED_EXCHANGE_INVALID
          The return code indicating that it was an invalid exchange random seed request.
static int RANDOM_SEED_INVALID
          The return code indicating that it was a random seed not valid.
static int RANDOM_SEED_REQUIRED
          The return code indicating that it was a random seed required when doing password substitute.
static int REQUEST_DATA_ERROR
          The return code indicating that it was an error in request data.
static int REQUEST_ID_NOT_VALID
          The return code indicating that it was a request ID not valid.
static int SEND_REPLY_INVALID
          The return code indicating that it was send reply indicator is not valid.
static int SERVER_ID_NOT_VALID
          The return code indicating that it was a server ID not valid.
static int SERVER_NOT_STARTED
          The return code indicating that it was unable to start the server.
static int SIGNON_CONNECT_FAILED
          The return code indicating that it was unable to connect to signon server.
static int START_SERVER_REQUEST_NOT_VALID
          The return code indicating that it was start server request is not valid.
static int START_SERVER_UNKNOWN_ERROR
          The return code indicating that it was an unknown error starting server.
static int USERID_LENGTH_NOT_VALID
          The return code indicating that it was user ID length is not valid.
 
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

CONNECTION_NOT_ESTABLISHED

public static final int CONNECTION_NOT_ESTABLISHED
The return code indicating that it was unable to establish a connection.

CONNECTION_PORT_CANNOT_CONNECT_TO

public static final int CONNECTION_PORT_CANNOT_CONNECT_TO
The return code indicating that it was unable to connect to the port.

SERVER_NOT_STARTED

public static final int SERVER_NOT_STARTED
The return code indicating that it was unable to start the server.

SIGNON_CONNECT_FAILED

public static final int SIGNON_CONNECT_FAILED
The return code indicating that it was unable to connect to signon server.

RANDOM_SEED_EXCHANGE_INVALID

public static final int RANDOM_SEED_EXCHANGE_INVALID
The return code indicating that it was an invalid exchange random seed request.

REQUEST_ID_NOT_VALID

public static final int REQUEST_ID_NOT_VALID
The return code indicating that it was a request ID not valid.

RANDOM_SEED_INVALID

public static final int RANDOM_SEED_INVALID
The return code indicating that it was a random seed not valid.

RANDOM_SEED_REQUIRED

public static final int RANDOM_SEED_REQUIRED
The return code indicating that it was a random seed required when doing password substitute.

PASSWORD_ENCRYPT_INVALID

public static final int PASSWORD_ENCRYPT_INVALID
The return code indicating that it was password encryption indicator is not valid.

USERID_LENGTH_NOT_VALID

public static final int USERID_LENGTH_NOT_VALID
The return code indicating that it was user ID length is not valid.

PASSWORD_LENGTH_NOT_VALID

public static final int PASSWORD_LENGTH_NOT_VALID
The return code indicating that it was password length is not valid.

SEND_REPLY_INVALID

public static final int SEND_REPLY_INVALID
The return code indicating that it was send reply indicator is not valid.

START_SERVER_REQUEST_NOT_VALID

public static final int START_SERVER_REQUEST_NOT_VALID
The return code indicating that it was start server request is not valid.

REQUEST_DATA_ERROR

public static final int REQUEST_DATA_ERROR
The return code indicating that it was an error in request data.

START_SERVER_UNKNOWN_ERROR

public static final int START_SERVER_UNKNOWN_ERROR
The return code indicating that it was an unknown error starting server.

SERVER_ID_NOT_VALID

public static final int SERVER_ID_NOT_VALID
The return code indicating that it was a server ID not valid.

CONNECTION_NOT_PASSED_LENGTH

public static final int CONNECTION_NOT_PASSED_LENGTH
The return code indicating that there was an error passing the connection to the server job. Program data length is incorrect.

CONNECTION_NOT_PASSED_TIMEOUT

public static final int CONNECTION_NOT_PASSED_TIMEOUT
The return code indicating that there was an error passing the connection to the server job. Server job timed out.

CONNECTION_NOT_PASSED_SERVER_NOT_STARTED

public static final int CONNECTION_NOT_PASSED_SERVER_NOT_STARTED
The return code indicating that there was an error passing the connection to the server job. Server job could not be started.

CONNECTION_NOT_PASSED_PRESTART_NOT_STARTED

public static final int CONNECTION_NOT_PASSED_PRESTART_NOT_STARTED
The return code indicating that there was an error passing the connection to the server job. Prestart job could not be started.

CONNECTION_NOT_PASSED_SUBSYSTEM

public static final int CONNECTION_NOT_PASSED_SUBSYSTEM
The return code indicating that there was an error passing the connection to the server job. Subsystem problem detected.

CONNECTION_NOT_PASSED_SERVER_ENDING

public static final int CONNECTION_NOT_PASSED_SERVER_ENDING
The return code indicating that there was an error passing the connection to the server job. Server job is ending.

CONNECTION_NOT_PASSED_RECEIVER_AREA

public static final int CONNECTION_NOT_PASSED_RECEIVER_AREA
The return code indicating that there was an error passing the connection to the server job. Receiver area is too small.

CONNECTION_NOT_PASSED_UNKNOWN

public static final int CONNECTION_NOT_PASSED_UNKNOWN
The return code indicating that there was an error passing the connection to the server job. Unknown or unrecoverable error occured.

CONNECTION_NOT_PASSED_PROFILE

public static final int CONNECTION_NOT_PASSED_PROFILE
The return code indicating that there was an error passing the connection to the server job. User profile for server job does not exist.

CONNECTION_NOT_PASSED_AUTHORITY

public static final int CONNECTION_NOT_PASSED_AUTHORITY
The return code indicating that there was an error passing the connection to the server job. User profile for server job does not have enough authority.

CONNECTION_NOT_PASSED_PROGRAM_NOT_FOUND

public static final int CONNECTION_NOT_PASSED_PROGRAM_NOT_FOUND
The return code indicating that there was an error passing the connection to the server job. Server job program was not found.

CONNECTION_NOT_PASSED_LIBRARY_AUTHORITY

public static final int CONNECTION_NOT_PASSED_LIBRARY_AUTHORITY
The return code indicating that there was an error passing the connection to the server job. Daemon job is not authorized to server job library.

CONNECTION_NOT_PASSED_PROGRAM_AUTHORITY

public static final int CONNECTION_NOT_PASSED_PROGRAM_AUTHORITY
The return code indicating that there was an error passing the connection to the server job. Daemon job is not authorized to server job program.
Method Detail

getReturnCode

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