com.ibm.websphere.sca
Class ServiceRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.ibm.websphere.sca.ServiceRuntimeException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ServiceExpirationRuntimeException, ServiceTimeoutRuntimeException, ServiceUnavailableException, ServiceUnwiredReferenceRuntimeException
public class ServiceRuntimeException
- extends java.lang.RuntimeException
Exception used to indicate that a runtime exception occurred during the invocation or execution of a service.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
|
Constructor Summary |
ServiceRuntimeException(java.lang.String message)
Constructs a new ServiceRuntimeException with the specified detail message. |
ServiceRuntimeException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new ServiceRuntimeException with the specified detail message and cause. |
ServiceRuntimeException(java.lang.String message,
java.lang.Throwable cause,
java.util.List componentTraces)
|
ServiceRuntimeException(java.lang.Throwable cause)
Constructs a new ServiceRuntimeException with the specified cause. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
ServiceRuntimeException
public ServiceRuntimeException(java.lang.String message)
- Constructs a new ServiceRuntimeException with the specified detail message.
- Parameters:
message
- The message (which is saved to later retrieval by the getMessage() method).
ServiceRuntimeException
public ServiceRuntimeException(java.lang.Throwable cause)
- Constructs a new ServiceRuntimeException with the specified cause.
- Parameters:
cause
- The cause (which is saved to later retrieval by the getCause() method).
ServiceRuntimeException
public ServiceRuntimeException(java.lang.String message,
java.lang.Throwable cause)
- Constructs a new ServiceRuntimeException with the specified detail message and cause.
- Parameters:
message
- The message (which is saved to later retrieval by the getMessage() method).cause
- The cause (which is saved to later retrieval by the getCause() method).
ServiceRuntimeException
public ServiceRuntimeException(java.lang.String message,
java.lang.Throwable cause,
java.util.List componentTraces)
addServiceContext
public void addServiceContext(java.lang.String context)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable
- See Also:
Throwable.toString()
printStackTrace
public void printStackTrace(java.io.PrintStream s)
- Overrides:
printStackTrace
in class java.lang.Throwable
- See Also:
Throwable.printStackTrace(java.io.PrintStream)
printStackTrace
public void printStackTrace(java.io.PrintWriter s)
- Overrides:
printStackTrace
in class java.lang.Throwable
- See Also:
Throwable.printStackTrace(java.io.PrintWriter)
getServiceContext
public java.util.List getServiceContext()