public class ServiceRuntimeException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
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.
|
Modifier and Type | Method and Description |
---|---|
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() |
public static final java.lang.String COPYRIGHT
public ServiceRuntimeException(java.lang.String message)
message
- The message (which is saved to later retrieval by the getMessage() method).public ServiceRuntimeException(java.lang.Throwable cause)
cause
- The cause (which is saved to later retrieval by the getCause() method).public ServiceRuntimeException(java.lang.String message, java.lang.Throwable cause)
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).public ServiceRuntimeException(java.lang.String message, java.lang.Throwable cause, java.util.List componentTraces)
public void addServiceContext(java.lang.String context)
public java.lang.String toString()
toString
in class java.lang.Throwable
Throwable.toString()
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
Throwable.printStackTrace(java.io.PrintStream)
public void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
Throwable.printStackTrace(java.io.PrintWriter)
public java.util.List getServiceContext()