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

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

public class ServiceNotFoundException
extends ServiceException

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
ServiceNotFoundException()
          No-Arg Constructor
ServiceNotFoundException(java.lang.String message)
          Construct an instance with the message specified.
ServiceNotFoundException(java.lang.String code, java.lang.String message)
          Construct an instance with the message and error code specified.
ServiceNotFoundException(java.lang.Throwable e)
          Constructs an instance of the exception with no detail message but with a single exception.
ServiceNotFoundException(java.lang.Throwable e, java.lang.String message)
          Construct an instance from a message and an exception to chain to this one.
ServiceNotFoundException(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

ServiceNotFoundException

public ServiceNotFoundException()
No-Arg Constructor


ServiceNotFoundException

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

Parameters:
message - A message describing the exception

ServiceNotFoundException

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

ServiceNotFoundException

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

ServiceNotFoundException

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

ServiceNotFoundException

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