Class StateChangeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ameba.exception.BusinessRuntimeException
org.ameba.exception.BehaviorAwareException
org.openwms.tms.StateChangeException
All Implemented Interfaces:
Serializable

@ResponseStatus(BAD_REQUEST) public class StateChangeException extends org.ameba.exception.BehaviorAwareException
A StateChangeException signals that the request to change the state of a TransportOrder was not allowed.
Author:
Heiko Scherrer
See Also:
  • Constructor Details

    • StateChangeException

      public StateChangeException(String message)
    • StateChangeException

      public StateChangeException(String message, String msgKey, Serializable... data)
    • StateChangeException

      public StateChangeException(org.ameba.i18n.Translator translator, String messageKey, Serializable... param)
  • Method Details

    • getStatus

      public org.springframework.http.HttpStatus getStatus()
      Specified by:
      getStatus in class org.ameba.exception.BehaviorAwareException