public class AccumuloSecurityException extends Exception
Constructor and Description |
---|
AccumuloSecurityException(String user,
org.apache.accumulo.core.client.impl.thrift.SecurityErrorCode errorcode) |
AccumuloSecurityException(String user,
org.apache.accumulo.core.client.impl.thrift.SecurityErrorCode errorcode,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
org.apache.accumulo.core.client.impl.thrift.ThriftSecurityException |
asThriftException() |
org.apache.accumulo.core.security.thrift.SecurityErrorCode |
getErrorCode()
Deprecated.
since 1.5.0; Use
getSecurityErrorCode() instead. |
String |
getMessage() |
SecurityErrorCode |
getSecurityErrorCode() |
String |
getUser() |
void |
setUser(String s) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AccumuloSecurityException(String user, org.apache.accumulo.core.client.impl.thrift.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, org.apache.accumulo.core.client.impl.thrift.SecurityErrorCode errorcode)
user
- the relevant user for the security violationerrorcode
- the specific reason for this exceptionpublic org.apache.accumulo.core.client.impl.thrift.ThriftSecurityException asThriftException()
public String getUser()
public void setUser(String s)
public SecurityErrorCode getSecurityErrorCode()
@Deprecated public org.apache.accumulo.core.security.thrift.SecurityErrorCode getErrorCode()
getSecurityErrorCode()
instead.public String getMessage()
getMessage
in class Throwable
Copyright © 2011-2016 The Apache Software Foundation. All Rights Reserved.