IBM Branch Transformation Toolkit Javadoc

com.ibm.connector2.sna.lu62.exception
Class Lu62Exception

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.connector2.sna.lu62.exception.Lu62Exception
All Implemented Interfaces:
Lu62ErrorConstants, java.io.Serializable
Direct Known Subclasses:
Lu62InternalErrorException, Lu62InvalidRequestException

public class Lu62Exception
extends java.lang.Exception
implements Lu62ErrorConstants

The Lu62Exception 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
 
Fields inherited from class java.lang.Exception
 
Fields inherited from interface com.ibm.connector2.sna.lu62.exception.Lu62ErrorConstants
ALLOCATE_ERROR, CONVERSATION_INITIALIZATION_ERROR, CONVERSATION_TERMINATION_ERROR, CPI_C_API_ERROR, DLL_LOADING_ERROR, EVENT_ID_ERROR, FATAL, INITIALIZE_FOR_INCOMING_ERROR, INVALID_CONVERSATION_STATUS, MESSAGE_PUBLISHER_JMS_EXCEPTION, MESSAGE_PUBLISHER_NAMING_EXCEPTION, RECOVERABLE
 
Constructor Summary
Lu62Exception(java.lang.String severity, java.lang.String errorCode, java.lang.String message)
          This constructor creates the Lu62Exception 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 getMessage()
          Gets the value of message.
 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 aClassName)
          Sets the name of the class that generates the exception.
 void setErrorCode(java.lang.String aCode)
          Sets the value of code.
 void setMessage(java.lang.String aMessage)
          Sets the value of message.
 void setMethodName(java.lang.String aMethodName)
          Sets the name of the method that generates the exception.
 void setSeverity(java.lang.String aSeverity)
          Sets the value of severity.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Lu62Exception

public Lu62Exception(java.lang.String severity,
                     java.lang.String errorCode,
                     java.lang.String message)
This constructor creates the Lu62Exception 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

getMessage

public java.lang.String getMessage()
Gets the value of message.

Returns:
java.lang.String

setClassName

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

Parameters:
aClassName - java.lang.String

setErrorCode

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

Parameters:
aCode - java.lang.String

setMethodName

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

Parameters:
aMethodName - java.lang.String

setSeverity

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

Parameters:
aSeverity - java.lang.String

setMessage

public void setMessage(java.lang.String aMessage)
Sets the value of message.

Parameters:
aMessage - java.lang.String

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005