ccc.api.exceptions
Class InsufficientPrivilegesException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ccc.api.exceptions.CCException
ccc.api.exceptions.InsufficientPrivilegesException
- All Implemented Interfaces:
- java.io.Serializable
public class InsufficientPrivilegesException
- extends CCException
This exception indicates that a user attempted to perform an operation
without sufficient privileges.
- Author:
- Civic Computing Ltd.
- 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 |
InsufficientPrivilegesException
public InsufficientPrivilegesException()
- Constructor.
InsufficientPrivilegesException
public InsufficientPrivilegesException(CommandType action,
java.util.UUID user)
- Constructor.
- Parameters:
action
- The action that was disallowed.user
- The user attempting to perform the action.
getAction
public CommandType getAction()
- Accessor.
- Returns:
- Returns the action.
getUser
public java.util.UUID getUser()
- Accessor.
- Returns:
- Returns the user.
Copyright © 2010. All Rights Reserved.