public class ETSRuntimeException extends RuntimeException
Modifier and Type | Field and Description |
---|---|
protected String |
originalMessage_ |
protected StackTraceElement[] |
originalStackTrace_ |
Constructor and Description |
---|
ETSRuntimeException(String message) |
ETSRuntimeException(String code,
String message) |
ETSRuntimeException(String code,
String message,
Exception child) |
ETSRuntimeException(String code,
String message,
Exception[] children) |
ETSRuntimeException(String code,
Throwable t) |
Modifier and Type | Method and Description |
---|---|
Exception[] |
getChildren() |
String |
getCode() |
String |
getMessage() |
String |
getOriginalMessage() |
StackTraceElement[] |
getOriginalStackTrace()
Returns the stack trace from the original exception.
|
Serializable |
getParameter(String name)
Returns the value of parameter 'name' set on the exception
|
Set<String> |
getParameterNames()
Returns the names of all parameters set on this Exception.
|
String |
getSubExceptionsToString(String title,
Exception[] exceptions) |
void |
setChildren(Exception[] children) |
void |
setOriginalMessage(String origMessage) |
void |
setOriginalStackTrace(StackTraceElement[] trace)
Sets the stack trace from the original exception.
|
void |
setParameter(String name,
Serializable value)
Sets an extra parameter on the exception.
|
String |
toString() |
String |
toString(String label) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
protected String originalMessage_
protected StackTraceElement[] originalStackTrace_
public ETSRuntimeException(String message)
public String getCode()
public String getMessage()
getMessage
in class Throwable
public Exception[] getChildren()
public void setChildren(Exception[] children)
public String getOriginalMessage()
public void setOriginalMessage(String origMessage)
public StackTraceElement[] getOriginalStackTrace()
public void setOriginalStackTrace(StackTraceElement[] trace)
trace
- The original stack trace.public Serializable getParameter(String name)
public void setParameter(String name, Serializable value)
name
- the name of the parametervalue
- the value of the parameterpublic String getSubExceptionsToString(String title, Exception[] exceptions)
HDR Glossary HDR Concept Lists HDR Exceptions HDR Programmer's Guide HDR Implementation Guide HDR Profile Options
Copyright © 2016, 2018, Oracle. All rights reserved