public abstract class CodedRuntimeExceptionDefStatusCode extends Exception implements CodedExceptionBase
| Constructor and Description |
|---|
CodedRuntimeExceptionDefStatusCode() |
CodedRuntimeExceptionDefStatusCode(String message) |
CodedRuntimeExceptionDefStatusCode(String message,
Throwable cause) |
CodedRuntimeExceptionDefStatusCode(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract StatusCode |
generateStatusCode()
the implementation of setStatusCode must provide the statuscode you want
your exception to have.
|
String |
getMessage() |
StatusCode |
getStatus()
ensures that a Coded Exception has a StatusCode that is accessible
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOriginalMessagepublic CodedRuntimeExceptionDefStatusCode()
public CodedRuntimeExceptionDefStatusCode(String message)
public CodedRuntimeExceptionDefStatusCode(Throwable cause)
protected abstract StatusCode generateStatusCode()
public StatusCode getStatus()
CodedExceptionBasegetStatus in interface CodedExceptionBasepublic String getMessage()
getMessage in class ThrowableCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.