public class TeiidRuntimeException extends RuntimeException
Subclasses of this exception typically only need to implement whatever constructors they need.
| Modifier and Type | Field and Description | 
|---|---|
| static String | CAUSED_BY_STRING | 
| static long | serialVersionUID | 
| Constructor and Description | 
|---|
| TeiidRuntimeException()Construct a default instance of this class. | 
| TeiidRuntimeException(BundleUtil.Event code,
                     String message) | 
| TeiidRuntimeException(BundleUtil.Event code,
                     Throwable t) | 
| TeiidRuntimeException(BundleUtil.Event event,
                     Throwable e,
                     String message)Construct an instance with the linked exception, error code, and error message specified. | 
| TeiidRuntimeException(String message)Construct an instance with the specified error message. | 
| TeiidRuntimeException(Throwable e)Construct an instance with a linked exception specified. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getCode()Get the error code. | 
| String | getMessage() | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final long serialVersionUID
public static final String CAUSED_BY_STRING
public TeiidRuntimeException()
public TeiidRuntimeException(String message)
message - The error message or a resource bundle keypublic TeiidRuntimeException(BundleUtil.Event code, String message)
public TeiidRuntimeException(BundleUtil.Event code, Throwable t)
public TeiidRuntimeException(Throwable e)
TeiidException or a
 TeoodRuntimeException, then the code will be set to the exception's code.e - An exception to chain to this exceptionpublic TeiidRuntimeException(BundleUtil.Event event, Throwable e, String message)
TeiidException or a MetaMatrixRuntimeException, the code will
 be set to the exception's code.e - The exception to chain to this exceptionevent - The error codemessage - The error messagepublic String getCode()
public String getMessage()
getMessage in class ThrowableCopyright © 2019. All rights reserved.