IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.sca
Class ServiceRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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.
 
Method Summary
 void addServiceContext(java.lang.String context)
           
 java.util.List getServiceContext()
           
 void printStackTrace(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter s)
           
 java.lang.String 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:
Constant Field Values
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()

IBM WebSphere Application ServerTM
Release 7