com.ibm.di.fc.remotecmdlnfc
Class ExceptionFactory

java.lang.Object
  extended by com.ibm.di.fc.remotecmdlnfc.ExceptionFactory

public class ExceptionFactory
extends Object

Produce new exceptions and log appropriate messages


Field Summary
static String FC_PREFIX
          Error id that prefixes all Remote CLFC exceptions
static String RXA_PREFIX
          Error id that prefixes all RXA Toolkit exceptions
 
Constructor Summary
ExceptionFactory()
           
 
Method Summary
static GeneralCLFCException createGeneralCLFCException(RemoteCLFCMsgIds err, LogProxy lg)
          Construct a GeneralCLFCException
static GeneralCLFCException createGeneralCLFCException(Throwable root, LogProxy lg)
          Construct a GeneralCLFCException
static ParamException createParamException(RemoteCLFCMsgIds err, LogProxy lg)
          Construct a ParamException
static RemoteConnectException createRemoteConnectException(RemoteCLFCMsgIds err, LogProxy lg)
          Construct a RemoteConnectException
static RemoteConnectException createRemoteConnectException(Throwable root, LogProxy lg)
          Construct a RemoteConnectException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FC_PREFIX

public static final String FC_PREFIX
Error id that prefixes all Remote CLFC exceptions

See Also:
Constant Field Values

RXA_PREFIX

public static final String RXA_PREFIX
Error id that prefixes all RXA Toolkit exceptions

See Also:
Constant Field Values
Constructor Detail

ExceptionFactory

public ExceptionFactory()
Method Detail

createParamException

public static ParamException createParamException(RemoteCLFCMsgIds err,
                                                  LogProxy lg)
Construct a ParamException

Parameters:
err -
lg -
Returns:
ParamException

createRemoteConnectException

public static RemoteConnectException createRemoteConnectException(RemoteCLFCMsgIds err,
                                                                  LogProxy lg)
Construct a RemoteConnectException

Parameters:
err -
lg -
Returns:
RemoteConnectException

createGeneralCLFCException

public static GeneralCLFCException createGeneralCLFCException(RemoteCLFCMsgIds err,
                                                              LogProxy lg)
Construct a GeneralCLFCException

Parameters:
err -
lg -
Returns:
GeneralCLFCException

createRemoteConnectException

public static RemoteConnectException createRemoteConnectException(Throwable root,
                                                                  LogProxy lg)
Construct a RemoteConnectException

Parameters:
root -
lg -
Returns:
RemoteConnectException

createGeneralCLFCException

public static GeneralCLFCException createGeneralCLFCException(Throwable root,
                                                              LogProxy lg)
Construct a GeneralCLFCException

Parameters:
root -
lg -
Returns:
GeneralCLFCException