public abstract class CodedRuntimeException extends RuntimeException implements ErrorCoded
RuntimeException with error code.| Modifier | Constructor and Description |
|---|---|
protected |
CodedRuntimeException(String errorCode) |
protected |
CodedRuntimeException(String errorCode,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode() |
String |
getLocalizedMessage() |
protected abstract Object[] |
getLocalizedMessageArguments() |
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected CodedRuntimeException(String errorCode)
public String getErrorCode()
getErrorCode in interface ErrorCodedpublic String getLocalizedMessage()
getLocalizedMessage in class Throwableprotected abstract Object[] getLocalizedMessageArguments()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.