public class CodedRuntimeException extends RuntimeException implements CodedExceptionBase
| Constructor and Description |
|---|
CodedRuntimeException(StatusCode statusCode) |
CodedRuntimeException(StatusCode statusCode,
String message) |
CodedRuntimeException(StatusCode statusCode,
String message,
Throwable cause) |
CodedRuntimeException(StatusCode statusCode,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
String |
getOriginalMessage()
Return the original message without the status code prefix
|
StatusCode |
getStatus()
ensures that a Coded Exception has a StatusCode that is accessible
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CodedRuntimeException(StatusCode statusCode)
public CodedRuntimeException(StatusCode statusCode, String message)
public CodedRuntimeException(StatusCode statusCode, String message, Throwable cause)
public CodedRuntimeException(StatusCode statusCode, Throwable cause)
public String getMessage()
getMessage in class Throwablepublic StatusCode getStatus()
CodedExceptionBasegetStatus in interface CodedExceptionBasepublic String getOriginalMessage()
CodedExceptionBasegetOriginalMessage in interface CodedExceptionBaseCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.