public class MissingPrivilegeException extends UnauthorizedException
Constructor and Description |
---|
MissingPrivilegeException(java.lang.String userName) |
MissingPrivilegeException(java.lang.String userName,
Privilege.Type type) |
Modifier and Type | Method and Description |
---|---|
int |
errorCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept
public MissingPrivilegeException(java.lang.String userName, Privilege.Type type)
public MissingPrivilegeException(java.lang.String userName)
public int errorCode()
errorCode
in interface CrateException
errorCode
in class UnauthorizedException