org.apache.accumulo.core.client
public class AccumuloSecurityException extends Exception
Constructor and Description |
---|
AccumuloSecurityException(String user,
SecurityErrorCode errorcode) |
AccumuloSecurityException(String user,
SecurityErrorCode errorcode,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
ThriftSecurityException |
asThriftException() |
SecurityErrorCode |
getErrorCode()
Deprecated.
since 1.5.0; Use
getSecurityErrorCode() instead. |
String |
getMessage() |
SecurityErrorCode |
getSecurityErrorCode() |
String |
getUser() |
void |
setUser(String s) |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AccumuloSecurityException(String user, SecurityErrorCode errorcode, Throwable cause)
user
- the relevant user for the security violationerrorcode
- the specific reason for this exceptioncause
- the exception that caused this violationpublic AccumuloSecurityException(String user, SecurityErrorCode errorcode)
user
- the relevant user for the security violationerrorcode
- the specific reason for this exceptionpublic ThriftSecurityException asThriftException()
public String getUser()
public void setUser(String s)
public SecurityErrorCode getSecurityErrorCode()
@Deprecated public SecurityErrorCode getErrorCode()
getSecurityErrorCode()
instead.public String getMessage()
getMessage
in class Throwable
Copyright © 2014 Apache Accumulo Project. All Rights Reserved.