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

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.ServiceSuspendedException
All Implemented Interfaces:
java.io.Serializable

public class ServiceSuspendedException
extends ServiceStateException

This exception will be thrown when a request is made to a service that is closed.

See Also:
Serialized Form

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

Constructor Detail

ServiceSuspendedException

public ServiceSuspendedException()
No-Arg Constructor


ServiceSuspendedException

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

Parameters:
message - A message describing the exception

ServiceSuspendedException

public ServiceSuspendedException(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

ServiceSuspendedException

public ServiceSuspendedException(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

ServiceSuspendedException

public ServiceSuspendedException(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

ServiceSuspendedException

public ServiceSuspendedException(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.