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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getOriginalMessage
public CodedRuntimeExceptionDefStatusCode()
public CodedRuntimeExceptionDefStatusCode(String message)
public CodedRuntimeExceptionDefStatusCode(Throwable cause)
protected abstract StatusCode generateStatusCode()
public StatusCode getStatus()
CodedExceptionBase
getStatus
in interface CodedExceptionBase
public String getMessage()
getMessage
in class Throwable
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.