public class ETSTerminologyException extends RuntimeException
RuntimeException,
Serialized Form| Constructor and Description |
|---|
ETSTerminologyException()
Deprecated.
|
ETSTerminologyException(Exception wrappedException)
Constructs a new exception that wraps another exception.
|
ETSTerminologyException(String message)
Constructs an
ETSTerminologyException object from the
specified literal exception message. |
ETSTerminologyException(String message,
Exception wrappedException) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Overrides the
getMessage() method in the
java.lang.Throwable class. |
Exception |
getWrappedException()
Retrieves the wrapped exception passed in to the
ETSTerminologyException(Exception) constructor. |
String |
toString()
Overrides the
toString() method in
java.lang.Throwable and prints the name of the exception
class followed by the result of the getMessage method. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ETSTerminologyException()
ETSTerminologyException(String) or
ETSTerminologyException(Exception)ETSTerminologyException with no detail
message.public ETSTerminologyException(String message)
ETSTerminologyException object from the
specified literal exception message. This literal exception message is
not available in the exception message table. The ETS method that throws
this exception provides the literal exception message.message - Literal exception message.public ETSTerminologyException(Exception wrappedException)
wrappedException - the cause (which is saved for later retrieval by
the getWrappedException() method). (A null value is
permitted, and indicates that the cause is nonexistent or unknown.)public Exception getWrappedException()
ETSTerminologyException(Exception) constructor.null if a null wrapped
exception was passed in.public String getMessage()
getMessage() method in the
java.lang.Throwable class. Gets the translated message from
the database using the message name. If no translated message can be
found, the name of the exception class is used as the error message.getMessage in class Throwablepublic String toString()
toString() method in
java.lang.Throwable and prints the name of the exception
class followed by the result of the getMessage method. A
sample output of this method: "ETSNotFoundException: coding scheme
'SNOMED-CT' not found".HDR Glossary HDR Concept Lists HDR Exceptions HDR Programmer's Guide HDR Implementation Guide HDR Profile Options
Copyright © 2016, 2018, Oracle. All rights reserved