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:
MediateException, ServiceExpirationRuntimeException, ServiceTimeoutRuntimeException, ServiceUnavailableException, ServiceUnwiredReferenceRuntimeException
- public class ServiceRuntimeException
- extends java.lang.RuntimeException
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Constructor Summary
Constructor and Description |
---|
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.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
addServiceContext(java.lang.String context)
|
|
getServiceContext()
|
|
printStackTrace(java.io.PrintStream s)
|
|
printStackTrace(java.io.PrintWriter s)
|
|
toString()
|
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 |
Field Detail
COPYRIGHT
- public static final java.lang.String COPYRIGHT
See Also:
Constructor Detail
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)
Method Detail
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( )