com.ibm.di.protocols.rxa
Class GeneralCLFCException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.di.protocols.rxa.GeneralCLFCException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ParamException, RemoteConnectException

public class GeneralCLFCException
extends java.lang.Exception

Exception type for the Remote Command Line Function Component

See Also:
Serialized Form

Constructor Summary
GeneralCLFCException(MsgIds c, java.lang.String msg)
          Construct exception with a context message.
GeneralCLFCException(MsgIds c, java.lang.String msg, java.lang.Throwable root)
          Construct an exception of this type with a context message and lower level exception cause.
GeneralCLFCException(java.lang.String msg)
          Construct exception with a context message.
GeneralCLFCException(java.lang.String msg, java.lang.Throwable root)
          Construct an exception of this type with a context message and lower level exception cause.
GeneralCLFCException(java.lang.Throwable root)
          Construct an exception of this type as result of another lower level exception.
 
Method Summary
 MsgIds getCode()
          Get the error code for this exception
 
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
 

Constructor Detail

GeneralCLFCException

public GeneralCLFCException(MsgIds c,
                            java.lang.String msg)
Construct exception with a context message.

Parameters:
c - The RemoteCLFCErrorCode for this exception
msg - The message text.

GeneralCLFCException

public GeneralCLFCException(MsgIds c,
                            java.lang.String msg,
                            java.lang.Throwable root)
Construct an exception of this type with a context message and lower level exception cause.

Parameters:
c - The RemoteCLFCErrorCode for this exception
msg - The message text.
root - The cause of the this exception.

GeneralCLFCException

public GeneralCLFCException(java.lang.String msg)
Construct exception with a context message.

Parameters:
msg - The message text.

GeneralCLFCException

public GeneralCLFCException(java.lang.Throwable root)
Construct an exception of this type as result of another lower level exception. The message of this exception will be adopted from the root exception.

Parameters:
root - The cause of the this exception.

GeneralCLFCException

public GeneralCLFCException(java.lang.String msg,
                            java.lang.Throwable root)
Construct an exception of this type with a context message and lower level exception cause.

Parameters:
msg - The message text.
root - The cause of the this exception.
Method Detail

getCode

public MsgIds getCode()
Get the error code for this exception

Returns:
RemoteCLFCErrorCode error