org.jaffa.middleware
Class CreateServiceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jaffa.exceptions.CustomException
              extended byorg.jaffa.exceptions.FrameworkException
                  extended byorg.jaffa.exceptions.MiddlewareException
                      extended byorg.jaffa.middleware.CreateServiceException
All Implemented Interfaces:
Serializable

public class CreateServiceException
extends MiddlewareException

This exception is thrown if any error occurs during the creation of the Transaction Controller.

See Also:
Serialized Form

Field Summary
static String INSTANTIATION_FAILED
          One of the reasons for throwing this exception
static String INVALID_INPUT
          One of the reasons for throwing this exception
static String NOT_AN_INTERFACE
          One of the reasons for throwing this exception
 
Fields inherited from class org.jaffa.exceptions.CustomException
m_arguments
 
Constructor Summary
CreateServiceException(String subCode)
          Creates an exception with the errorCode.
CreateServiceException(String subCode, Object[] arguments)
          Creates an exception with the errorCode and a cause.
CreateServiceException(String subCode, Object[] arguments, Throwable cause)
          Creates an exception with the errorCode and a cause.
 
Methods inherited from class org.jaffa.exceptions.CustomException
getArguments, getLocalizedMessage, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

NOT_AN_INTERFACE

public static final String NOT_AN_INTERFACE
One of the reasons for throwing this exception

See Also:
Constant Field Values

INSTANTIATION_FAILED

public static final String INSTANTIATION_FAILED
One of the reasons for throwing this exception

See Also:
Constant Field Values

INVALID_INPUT

public static final String INVALID_INPUT
One of the reasons for throwing this exception

See Also:
Constant Field Values
Constructor Detail

CreateServiceException

public CreateServiceException(String subCode)
Creates an exception with the errorCode.

Parameters:
subCode - The reason for the exception. This should be on of the statics defined in this class.

CreateServiceException

public CreateServiceException(String subCode,
                              Object[] arguments)
Creates an exception with the errorCode and a cause.

Parameters:
subCode - The reason for the exception. This should be on of the statics defined in this class.
arguments - the arguments, if any, that need to be merged into the error message from the resource bundle.

CreateServiceException

public CreateServiceException(String subCode,
                              Object[] arguments,
                              Throwable cause)
Creates an exception with the errorCode and a cause.

Parameters:
subCode - The reason for the exception. This should be on of the statics defined in this class.
arguments - the arguments, if any, that need to be merged into the error message from the resource bundle.
cause - the cause.


Copyright © 2002-2004 JAFFA Project.