org.openwms.core.service.voter
Class DeniedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.openwms.core.service.exception.ServiceException
              extended by org.openwms.core.service.voter.DeniedException
All Implemented Interfaces:
Serializable

public class DeniedException
extends ServiceException

A DeniedException is thrown by a DecisionVoters in case a business action is not allowed to be executed.

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

Constructor Summary
DeniedException(String message)
          Create a new DeniedException.
DeniedException(String message, Throwable cause)
          Create a new DeniedException.
DeniedException(Throwable cause)
          Create a new DeniedException.
 
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

DeniedException

public DeniedException(String message)
Create a new DeniedException.

Parameters:
message - Detail message

DeniedException

public DeniedException(Throwable cause)
Create a new DeniedException.

Parameters:
cause - Root cause

DeniedException

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

Parameters:
message - Detail message
cause - Root cause


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