com.eurotech.framework
Class EsfRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.eurotech.framework.EsfRuntimeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EsfInvalidMessageException, EsfInvalidMetricTypeException

public class EsfRuntimeException
extends RuntimeException

See Also:
Serialized Form

Field Summary
protected  EsfErrorCode m_code
           
 
Constructor Summary
EsfRuntimeException(EsfErrorCode code)
          Builds a new EdcException instance based on the supplied EdcErrorCode.
EsfRuntimeException(EsfErrorCode code, Object... arguments)
          Builds a new EdcException instance based on the supplied EdcErrorCode.
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.
 
Method Summary
 EsfErrorCode getCode()
           
 String getLocalizedMessage()
           
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_code

protected EsfErrorCode m_code
Constructor Detail

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 -
Method Detail

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.