public class KuraRuntimeException extends RuntimeException
Modifier and Type | Field and Description |
---|---|
protected KuraErrorCode |
m_code |
Constructor and Description |
---|
KuraRuntimeException(KuraErrorCode code)
Builds a new EdcException instance based on the supplied EdcErrorCode.
|
KuraRuntimeException(KuraErrorCode code,
Object... arguments)
Builds a new EdcException instance based on the supplied EdcErrorCode.
|
KuraRuntimeException(KuraErrorCode code,
Throwable cause,
Object... arguments)
Builds a new EdcException instance based on the supplied EdcErrorCode, an optional Throwable cause, and optional arguments for the associated exception message.
|
Modifier and Type | Method and Description |
---|---|
KuraErrorCode |
getCode() |
String |
getLocalizedMessage() |
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected KuraErrorCode m_code
public KuraRuntimeException(KuraErrorCode code)
code
- t
- arguments
- public KuraRuntimeException(KuraErrorCode code, Object... arguments)
code
- t
- arguments
- public KuraRuntimeException(KuraErrorCode code, Throwable cause, Object... arguments)
code
- t
- arguments
- public KuraErrorCode getCode()
public String getMessage()
getMessage
in class Throwable
public String getLocalizedMessage()
getLocalizedMessage
in class Throwable
Copyright © 2014. All Rights Reserved.