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

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ServiceNotFoundException, ServiceStateException

public class ServiceException
extends MetaMatrixRuntimeException

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.metamatrix.core.MetaMatrixRuntimeException
CAUSED_BY_STRING, serialVersionUID
 
Constructor Summary
ServiceException()
          No-Arg Constructor
ServiceException(java.lang.String message)
          Construct an instance with the message specified.
ServiceException(java.lang.String code, java.lang.String message)
          Construct an instance with the message and error code specified.
ServiceException(java.lang.Throwable e)
          Construct an instance with a linked exception specified.
ServiceException(java.lang.Throwable e, java.lang.String message)
          Construct an instance from a message and an exception to chain to this one.
ServiceException(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

ServiceException

public ServiceException()
No-Arg Constructor


ServiceException

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

Parameters:
message - A message describing the exception

ServiceException

public ServiceException(java.lang.Throwable e)
Construct an instance with a linked exception specified.

Parameters:
e - An exception to chain to this exception

ServiceException

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

ServiceException

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

ServiceException

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


Copyright © 2009. All Rights Reserved.