com.xebialabs.deployit.security
Class PermissionDeniedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.xebialabs.deployit.exception.DeployitException
com.xebialabs.deployit.security.PermissionDeniedException
- All Implemented Interfaces:
- java.io.Serializable
@HttpResponseCodeResult(statusCode=403)
public class PermissionDeniedException
- extends DeployitException
- 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 |
PermissionDeniedException
public PermissionDeniedException(java.lang.String message,
java.lang.Exception cause)
PermissionDeniedException
public PermissionDeniedException()
PermissionDeniedException
public PermissionDeniedException(java.lang.String message)
withMessage
public static PermissionDeniedException withMessage(java.lang.String message,
java.lang.Exception cause)
withMessage
public static PermissionDeniedException withMessage(java.lang.String message)
forNodeAndPrivilege
public static PermissionDeniedException forNodeAndPrivilege(java.lang.String id,
java.lang.String privilege)
forPermission
public static PermissionDeniedException forPermission(Permission permission,
java.util.List<java.lang.String> onConfigurationItems)
forPermission
public static PermissionDeniedException forPermission(Permission permission,
java.lang.String onConfigurationItem)