org.squirrelframework.foundation.exception
Class SquirrelRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.squirrelframework.foundation.exception.SquirrelRuntimeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TransitionException

public class SquirrelRuntimeException
extends RuntimeException

See Also:
Serialized Form

Constructor Summary
SquirrelRuntimeException(ErrorCodes errorCode)
           
SquirrelRuntimeException(ErrorCodes errorCode, Object... parameters)
           
SquirrelRuntimeException(Throwable targetException, ErrorCodes errorCode)
           
SquirrelRuntimeException(Throwable targetException, ErrorCodes errorCode, Object... parameters)
           
 
Method Summary
 int getErrorCodeId()
           
 String getMessage()
           
 Throwable getTargetException()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SquirrelRuntimeException

public SquirrelRuntimeException(ErrorCodes errorCode)

SquirrelRuntimeException

public SquirrelRuntimeException(Throwable targetException,
                                ErrorCodes errorCode)

SquirrelRuntimeException

public SquirrelRuntimeException(ErrorCodes errorCode,
                                Object... parameters)

SquirrelRuntimeException

public SquirrelRuntimeException(Throwable targetException,
                                ErrorCodes errorCode,
                                Object... parameters)
Method Detail

getErrorCodeId

public int getErrorCodeId()

getTargetException

public Throwable getTargetException()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2013-2014. All Rights Reserved.