org.eclipse.stardust.common.error
Class AccessForbiddenException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.stardust.common.error.ApplicationException
                  extended by org.eclipse.stardust.common.error.PublicException
                      extended by org.eclipse.stardust.common.error.AccessForbiddenException
All Implemented Interfaces:
Serializable

public class AccessForbiddenException
extends PublicException

Thrown when the performing user is not valid or if he doesn't have the neccessary permissions.

Version:
$Revision$
Author:
ubirkemeyer
See Also:
Serialized Form

Constructor Summary
AccessForbiddenException(ErrorCase errorCase)
          Creates the exception with the error.
AccessForbiddenException(String message)
          Deprecated. Use of error codes is strongly recommended.
 
Method Summary
 
Methods inherited from class org.eclipse.stardust.common.error.ApplicationException
getError, getInner, getLocalizedMessage, isLogged, setLogged, setResourceBundle
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccessForbiddenException

public AccessForbiddenException(String message)
Deprecated. Use of error codes is strongly recommended.

Creates the exception with the provided message.

Parameters:
message - the exception message.

AccessForbiddenException

public AccessForbiddenException(ErrorCase errorCase)
Creates the exception with the error.

Parameters:
errorCase - the error code.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.