com.ibm.as400.access
Class ServerStartupException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--com.ibm.as400.access.ServerStartupException

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_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_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.
Method Detail

getReturnCode

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