com.metamatrix.platform.service.api.exception
Class ServiceNotInitializedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.metamatrix.core.MetaMatrixRuntimeException
                  extended by com.metamatrix.platform.service.api.exception.ServiceException
                      extended by com.metamatrix.platform.service.api.exception.ServiceStateException
                          extended by com.metamatrix.platform.service.api.exception.ServiceNotInitializedException
All Implemented Interfaces:
java.io.Serializable

public class ServiceNotInitializedException
extends ServiceStateException

This exception will be thrown when a request is made to a service that is not yet initialized ready state.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.metamatrix.core.MetaMatrixRuntimeException
CAUSED_BY_STRING, serialVersionUID
 
Constructor Summary
ServiceNotInitializedException()
          No-Arg Constructor
ServiceNotInitializedException(java.lang.String message)
          Construct an instance with the message specified.
ServiceNotInitializedException(java.lang.String code, java.lang.String message)
          Construct an instance with the message and error code specified.
ServiceNotInitializedException(java.lang.Throwable e)
          Constructs an instance of the exception with no detail message but with a single exception.
ServiceNotInitializedException(java.lang.Throwable e, java.lang.String message)
          Construct an instance from a message and an exception to chain to this one.
ServiceNotInitializedException(java.lang.Throwable e, java.lang.String code, java.lang.String message)
          Construct an instance from a message and a code and an exception to chain to this one.
 
Method Summary
 
Methods inherited from class com.metamatrix.core.MetaMatrixRuntimeException
getCause, getChild, getClassShortName, getCode, getIntCode, initCause, setCode, setCode, superPrintStackTrace, superPrintStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceNotInitializedException

public ServiceNotInitializedException()
No-Arg Constructor


ServiceNotInitializedException

public ServiceNotInitializedException(java.lang.String message)
Construct an instance with the message specified.

Parameters:
message - A message describing the exception

ServiceNotInitializedException

public ServiceNotInitializedException(java.lang.String code,
                                      java.lang.String message)
Construct an instance with the message and error code specified.

Parameters:
message - A message describing the exception
code - The error code

ServiceNotInitializedException

public ServiceNotInitializedException(java.lang.Throwable e,
                                      java.lang.String message)
Construct an instance from a message and an exception to chain to this one.

Parameters:
code - A code denoting the exception
e - An exception to nest within this one

ServiceNotInitializedException

public ServiceNotInitializedException(java.lang.Throwable e,
                                      java.lang.String code,
                                      java.lang.String message)
Construct an instance from a message and a code and an exception to chain to this one.

Parameters:
e - An exception to nest within this one
message - A message describing the exception
code - A code denoting the exception

ServiceNotInitializedException

public ServiceNotInitializedException(java.lang.Throwable e)
Constructs an instance of the exception with no detail message but with a single exception.

Parameters:
e - the exception that is encapsulated by this exception


Copyright © 2009. All Rights Reserved.