public class UnauthorizedException extends Exception
| Constructor and Description |
|---|
UnauthorizedException(String message)
Constructs an UnauthorizedException using the specified message.
|
UnauthorizedException(User user,
String action)
Constructs an UnauthorizedException for the specified user's attempt to take a specified action.
|
UnauthorizedException(User user,
String action,
AccessControlList acl)
Constructs an UnauthorizedException for the specified user's attempt to take a specified action.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnauthorizedException(String message)
message - the message describing the reason for this exceptionpublic UnauthorizedException(User user, String action)
user - the current useraction - the action attemptedpublic UnauthorizedException(User user, String action, AccessControlList acl)
user - the current useraction - the action attemptedacl - the access control list that prevented the actionCopyright © 2009–2020 Opencast Project. All rights reserved.