org.openwms.core.exception
Class StateChangeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.openwms.core.exception.DomainModelException
              extended by org.openwms.core.exception.StateChangeException
All Implemented Interfaces:
Serializable

public class StateChangeException
extends DomainModelException

A StateChangeException indicates that it is not allowed to switch the state of an entity.

Since:
0.1
Version:
$Revision: 1507 $
Author:
Heiko Scherrer
See Also:
Serialized Form

Constructor Summary
StateChangeException(String message)
          Create a new StateChangeException.
StateChangeException(String message, Throwable cause)
          Create a new StateChangeException.
StateChangeException(Throwable cause)
          Create a new StateChangeException.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

StateChangeException

public StateChangeException(String message)
Create a new StateChangeException.

Parameters:
message - Detail message

StateChangeException

public StateChangeException(Throwable cause)
Create a new StateChangeException.

Parameters:
cause - Root cause

StateChangeException

public StateChangeException(String message,
                            Throwable cause)
Create a new StateChangeException.

Parameters:
message - Detail message
cause - Root cause


Copyright © 2005-2011 openwms.org. All Rights Reserved.