com.eurotech.framework
Class EsfRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.eurotech.framework.EsfRuntimeException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- EsfInvalidMessageException, EsfInvalidMetricTypeException
public class EsfRuntimeException
- extends RuntimeException
- See Also:
- Serialized Form
m_code
protected EsfErrorCode m_code
EsfRuntimeException
public EsfRuntimeException(EsfErrorCode code)
- Builds a new EdcException instance based on the supplied EdcErrorCode.
- Parameters:
code
- t
- arguments
-
EsfRuntimeException
public EsfRuntimeException(EsfErrorCode code,
Object... arguments)
- Builds a new EdcException instance based on the supplied EdcErrorCode.
- Parameters:
code
- t
- arguments
-
EsfRuntimeException
public EsfRuntimeException(EsfErrorCode 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.
- Parameters:
code
- t
- arguments
-
getCode
public EsfErrorCode getCode()
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessage
in class Throwable
Copyright © 2013. All Rights Reserved.