com.ibm.cics.core.comm
Enum ConnectionException.Type

java.lang.Object
  extended by java.lang.Enum<ConnectionException.Type>
      extended by com.ibm.cics.core.comm.ConnectionException.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ConnectionException.Type>
Enclosing class:
ConnectionException

Deprecated. Clients should use subclasses of ConnectionException to give specific exception behaviour, rather than relying on this type enum.

@Deprecated
public static enum ConnectionException.Type
extends java.lang.Enum<ConnectionException.Type>

Type of ConnectionException


Enum Constant Summary
FILE_NOT_FOUND
          Deprecated.  
GENERIC
          Deprecated.  
INVALID_JOB_ID
          Deprecated.  
PERMISSION_DENIED
          Deprecated.  
 
Method Summary
static ConnectionException.Type valueOf(java.lang.String name)
          Deprecated. Returns the enum constant of this type with the specified name.
static ConnectionException.Type[] values()
          Deprecated. Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PERMISSION_DENIED

public static final ConnectionException.Type PERMISSION_DENIED
Deprecated. 

FILE_NOT_FOUND

public static final ConnectionException.Type FILE_NOT_FOUND
Deprecated. 

GENERIC

public static final ConnectionException.Type GENERIC
Deprecated. 

INVALID_JOB_ID

public static final ConnectionException.Type INVALID_JOB_ID
Deprecated. 
Method Detail

values

public static ConnectionException.Type[] values()
Deprecated. 
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ConnectionException.Type c : ConnectionException.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ConnectionException.Type valueOf(java.lang.String name)
Deprecated. 
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2013 IBM Corp. All Rights Reserved.