com.ibm.websphere.sca

Class ServiceRuntimeException

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended byjava.lang.RuntimeException
  5. extended bycom.ibm.websphere.sca.ServiceRuntimeException
All implemented interfaces:
java.io.Serializable
Direct known subclasses:
MediateException, ServiceExpirationRuntimeException, ServiceTimeoutRuntimeException, ServiceUnavailableException, ServiceUnwiredReferenceRuntimeException

  1. public class ServiceRuntimeException
  2. 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

Modifier and Type Field and Description
  1. static
  2. java.lang.String
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
  1. void
addServiceContext(java.lang.String context)
  1. java.util.List
getServiceContext()
  1. void
printStackTrace(java.io.PrintStream s)
  1. void
printStackTrace(java.io.PrintWriter s)
  1. 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

  1. public static final java.lang.String COPYRIGHT
See Also:

Constructor Detail

ServiceRuntimeException

  1. 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

  1. 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

  1. public ServiceRuntimeException( java.lang.String message,
  2. 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

  1. public ServiceRuntimeException( java.lang.String message,
  2. java.lang.Throwable cause,
  3. java.util.List componentTraces)

Method Detail

addServiceContext

  1. public void addServiceContext(java.lang.String context)

toString

  1. public java.lang.String toString( )
Overrides:
toString in class java.lang.Throwable
See Also:
Throwable.toString()

printStackTrace

  1. public void printStackTrace(java.io.PrintStream s)
Overrides:
printStackTrace in class java.lang.Throwable
See Also:
Throwable.printStackTrace(java.io.PrintStream)

printStackTrace

  1. public void printStackTrace(java.io.PrintWriter s)
Overrides:
printStackTrace in class java.lang.Throwable
See Also:
Throwable.printStackTrace(java.io.PrintWriter)

getServiceContext

  1. public java.util.List getServiceContext( )