IBM Branch Transformation Toolkit Javadoc

com.ibm.btt.samples.business.sna.lu0.exception
Class DummyLu0Exception

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.btt.samples.business.sna.lu0.exception.DummyLu0Exception
All Implemented Interfaces:
DummyLu0ErrorConstants, java.io.Serializable

public class DummyLu0Exception
extends java.lang.Exception
implements DummyLu0ErrorConstants

The DummyLu0Exception class is the base class from where all the exceptions raised by the framework are inherited. It includes the severity of the exception, the code, and the invoking class and method names.

See Also:
Serialized Form

Field Summary
static java.lang.String FATAL
           
static java.lang.String RECOVERABLE
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from interface com.ibm.btt.samples.business.sna.lu0.exception.DummyLu0ErrorConstants
BID_ERROR, C_CANNOT_PERFORM_OPERATION, CLOSING_SESSION_ERROR, COMMUNICATION_SERVER_READ_ERROR, COMMUNICATION_SERVER_WRITE_ERROR, DLL_LOADING_ERROR, EVENT_ID_ERROR, I_CANNOT_PERFORM_OPERATION, I_INVALID_INTERACTION_SPEC_TYPE, INVALID_CONNECTION_HANDLE_TYPE, INVALID_CONNECTION_TYPE, INVALID_CREDENTIALS_FOR_MANAGED_CONNECTION, INVALID_LUNAME, INVALID_MANAGED_CONNECTION_TYPE, INVALID_RESPONSE_REQUIRED_STATUS, INVALID_SESSION_STATUS, LOCAL_TRANSACTION_NOT_SUPPORTED, LUA_LINK_NOT_STARTED, LUA_LU_COMPONENT_DISCONNECTED, MC_INVALID_CONNECTION_REQUEST_INFO_TYPE, MC_INVALID_INTERACTION_SPEC_TYPE, MC_INVALID_PASSWORD_CREDENTIAL_TYPE, MC_INVALID_USER_PASSWORD, MC_NO_CREDENTIAL_MATCHING, MC_USER_NOT_AUTHORIZED_TO_ACCESS_HOST_APPLICATION, MCF_HOST_APPLICATION_NAME_CONFIG_PROPERTY_NOT_SET, MCF_INVALID_CONNECTION_REQUEST_INFO_TYPE, MCF_INVALID_PASSWORD_CREDENTIAL_TYPE, MCF_INVALID_USER_PASSWORD, MCF_LUNAMES_CONFIG_PROPERTY_NOT_SET, MCF_NO_CREDENTIAL_MATCHING, MCF_USER_NOT_AUTHORIZED_TO_ACCESS_HOST_APPLICATION, MESSAGE_PUBLISHER_JMS_EXCEPTION, MESSAGE_PUBLISHER_NAMING_EXCEPTION, MESSAGE_RECEIVED_CANCELLED, NO_DEFAULT_CONNECTION_MANAGER, NULL_CONNECTION_MANAGER, NULL_INTERACTION_SPEC, PHYSICAL_CONNECTION_ALLOCATION_FAILURE, RESPONSE_INTERACTION_SEQUENCE_ERROR, SEND_FIC_INTERACTION_SEQUENCE_ERROR, SEND_LIC_INTERACTION_SEQUENCE_ERROR, SEND_MIC_INTERACTION_SEQUENCE_ERROR, SENDING_DATA_ERROR, SESSION_ESTABLISH_ERROR, SESSION_ESTABLISH_TIMEOUT, SESSION_INITIALIZATION_ERROR, SESSION_TERMINATION_ERROR, UNSUPPORTED_ENCODING, XA_RESOURCE_NOT_SUPPORTED
 
Constructor Summary
DummyLu0Exception(java.lang.String severity, java.lang.String errorCode, java.lang.String message)
          This constructor creates the DummyLu0Exception object that initializes the following attributes.
 
Method Summary
 java.lang.String getClassName()
          Returns the name of the class that generates the exception.
 java.lang.String getErrorCode()
          Returns the value of code.
 java.lang.String getMethodName()
          Returns the name of the method that generates the exception.
 java.lang.String getSeverity()
          Gets the value of severity.
 void setClassName(java.lang.String className)
          Sets the name of the class that generates the exception.
 void setErrorCode(java.lang.String errorCode)
          Sets the value of code.
 void setMethodName(java.lang.String methodName)
          Sets the name of the method that generates the exception.
 void setSeverity(java.lang.String severity)
          Sets the value of severity.
 
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

RECOVERABLE

public static java.lang.String RECOVERABLE

FATAL

public static java.lang.String FATAL
Constructor Detail

DummyLu0Exception

public DummyLu0Exception(java.lang.String severity,
                         java.lang.String errorCode,
                         java.lang.String message)
This constructor creates the DummyLu0Exception object that initializes the following attributes.

Parameters:
severity - java.lang.String
errorCode - java.lang.String
message - java.lang.String
Method Detail

getClassName

public java.lang.String getClassName()
Returns the name of the class that generates the exception.

Returns:
java.lang.String

getErrorCode

public java.lang.String getErrorCode()
Returns the value of code.

Returns:
java.lang.String

getMethodName

public java.lang.String getMethodName()
Returns the name of the method that generates the exception.

Returns:
java.lang.String

getSeverity

public java.lang.String getSeverity()
Gets the value of severity.

Returns:
java.lang.String

setClassName

public void setClassName(java.lang.String className)
Sets the name of the class that generates the exception.

Parameters:
className - java.lang.String

setErrorCode

public void setErrorCode(java.lang.String errorCode)
Sets the value of code.

Parameters:
errorCode - java.lang.String

setMethodName

public void setMethodName(java.lang.String methodName)
Sets the name of the method that generates the exception.

Parameters:
methodName - java.lang.String

setSeverity

public void setSeverity(java.lang.String severity)
Sets the value of severity.

Parameters:
severity - java.lang.String

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005