public class ETSNestedException extends ETSException
ETSException
interface.ETSException
,
Serialized FormConstructor and Description |
---|
ETSNestedException(Exception ex)
Constructs an
ETSNestedException object from the specified
exception object. |
ETSNestedException(String desc)
Constructs an
ETSNestedException object from the specified
exception description. |
Modifier and Type | Method and Description |
---|---|
void |
addNestedException(ETSNestedException ex)
Adds a nested exception to this node.
|
String |
getDescription()
Gets the description of this node.
|
ETSNestedException[] |
getNestedExceptions()
Gets the array of nested exceptions in this node.
|
boolean |
hasNestedExceptions()
Checks whether this node contains nested exceptions.
|
String |
toString() |
getWrappedException, newCodingSchemeNotFound, newCodingSchemeVersionNotFound, newMultipleConceptsCode, newNoConceptsCode
addBundledException, getBundledExceptions, getDetailedExceptions, getExceptionCode, getParameter, getTokenNames, getTokenValues, printStackTrace, setBundledExceptions, setDetailedExceptions, setExceptionCode, setParameter, setTokenNames, setTokenValues
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace
public ETSNestedException(String desc)
ETSNestedException
object from the specified
exception description.desc
- Exception description.public ETSNestedException(Exception ex)
ETSNestedException
object from the specified
exception object.ex
- Exception object.public String getDescription()
public void addNestedException(ETSNestedException ex)
ex
- ETSNestedException
object.public ETSNestedException[] getNestedExceptions()
hasNestedExceptions()
method returns false
.public boolean hasNestedExceptions()
true
if this node contains nested exceptions, or false
if this node is empty. If this method returns false
, the
getNestedExceptions()
method returns an empty
array.public String toString()
toString
in class CommonException
String
containing the hierarchical representation of all
exceptions contained in the exception tree.HDR Glossary HDR Concept Lists HDR Exceptions HDR Programmer's Guide HDR Implementation Guide HDR Profile Options
Copyright © 2016, 2018, Oracle. All rights reserved