com.ibm.tws.conn.exception
Class ConnSymphonyAccessException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.tws.util.exception.TWSException
              extended bycom.ibm.tws.conn.exception.ConnException
                  extended bycom.ibm.tws.conn.exception.ConnSymphonyAccessException
All Implemented Interfaces:
java.io.Serializable

public class ConnSymphonyAccessException
extends ConnException

This exception is thrown when a generic error in the native code is found. This exception exposes the legacy codes if a better problem determination should be performed. This exception will be removed in future releases.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright
 
Constructor Summary
ConnSymphonyAccessException(java.lang.String currentMessageID, java.lang.Object[] currentArgs)
          Creates a ConnSymphonyAccessException from the given message ID and arguments.
ConnSymphonyAccessException(java.lang.String currentMessageID, java.lang.Object[] currentArgs, java.lang.Throwable e)
          Creates a ConnSymphonyAccessException from the given message ID, arguments and nested cause.
ConnSymphonyAccessException(TWSException e)
          Creates a ConnSymphonyAccessException from the given nested exception.
 
Method Summary
 int getErrorType()
          Returns the error type of the original C error as an int
 int getMsgNumber()
          Returns the message number of the original C error as an int.
 int getSetNumber()
          Returns the set number of the original C error as an int.
 
Methods inherited from class com.ibm.tws.conn.exception.ConnException
buildInsert, buildInsert2
 
Methods inherited from class com.ibm.tws.util.exception.TWSException
getArgs, getCauseMessage, getLocalizedMessage, getLocalizedMessage, getMessage, initialize, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright

Constructor Detail

ConnSymphonyAccessException

public ConnSymphonyAccessException(TWSException e)
Creates a ConnSymphonyAccessException from the given nested exception.

Parameters:
e - The nested cause from which this exception was generated.

ConnSymphonyAccessException

public ConnSymphonyAccessException(java.lang.String currentMessageID,
                                   java.lang.Object[] currentArgs,
                                   java.lang.Throwable e)
Creates a ConnSymphonyAccessException from the given message ID, arguments and nested cause.

Parameters:
currentMessageID - The identifier of the message in the connector's message catalog.
currentArgs - The current arguments of the error message.
e - The nested cause from which this exception was generated.

ConnSymphonyAccessException

public ConnSymphonyAccessException(java.lang.String currentMessageID,
                                   java.lang.Object[] currentArgs)
Creates a ConnSymphonyAccessException from the given message ID and arguments.

Parameters:
currentMessageID - The identifier of the message in the connector's message catalog.
currentArgs - The current arguments of the error message.
Method Detail

getErrorType

public int getErrorType()
Returns the error type of the original C error as an int

Returns:
an integer representing the original C error type

getMsgNumber

public int getMsgNumber()
Returns the message number of the original C error as an int. It can be used by developers (toghether with the setNumber) to check the exact reason of the C operation failure.

Returns:
the C message number as an int

getSetNumber

public int getSetNumber()
Returns the set number of the original C error as an int. It can be used by developers (toghether with the msgNumber) to check the exact reason of the C operation failure.

Returns:
the C set number as an int


Copyright © 2005 IBM All Rights Reserved.