com.redstarhackers.exception
Class InvalidStateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.redstarhackers.exception.SystemException
com.redstarhackers.exception.InvalidStateException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- InvalidConfigurationException
- public class InvalidStateException
- extends SystemException
Exception thrown when the current state invalid (usually the result of a Runtime error
or logic error in the application). These exceptions are usually the sign of a misconfigured
application or bug in the application, as they are usually only thrown when the current
state is outside a valid set of states, and the current state was not expected.
- Version:
- $Revision: 1.1 $
- Author:
- $Author: kostya $
- See Also:
- Serialized Form
| 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 |
STATE_DEFAULT_ERROR_CODE
public static final ErrorCode STATE_DEFAULT_ERROR_CODE
InvalidStateException
public InvalidStateException()
InvalidStateException
public InvalidStateException(ErrorCode code)
- Parameters:
code -
InvalidStateException
public InvalidStateException(ErrorCode code,
java.lang.String details)
- Parameters:
code - details -
InvalidStateException
public InvalidStateException(java.lang.String details)
- Parameters:
details -
InvalidStateException
public InvalidStateException(java.lang.Throwable rootCause)
- Parameters:
rootCause -
InvalidStateException
public InvalidStateException(ErrorCode code,
java.lang.Throwable rootCause)
- Parameters:
code - rootCause -
InvalidStateException
public InvalidStateException(java.lang.String details,
java.lang.Throwable rootCause)
- Parameters:
details - rootCause -
InvalidStateException
public InvalidStateException(ErrorCode code,
java.lang.String details,
java.lang.Throwable rootCause)
- Parameters:
code - details - rootCause -