public class AccumuloSecurityException extends Exception
| Constructor and Description |
|---|
AccumuloSecurityException(String user,
org.apache.accumulo.core.security.thrift.SecurityErrorCode errorcode) |
AccumuloSecurityException(String user,
org.apache.accumulo.core.security.thrift.SecurityErrorCode errorcode,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.accumulo.core.security.thrift.ThriftSecurityException |
asThriftException() |
org.apache.accumulo.core.security.thrift.SecurityErrorCode |
getErrorCode() |
String |
getMessage() |
String |
getUser() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AccumuloSecurityException(String user, org.apache.accumulo.core.security.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.security.thrift.SecurityErrorCode errorcode)
user - the relevant user for the security violationerrorcode - the specific reason for this exceptionpublic org.apache.accumulo.core.security.thrift.ThriftSecurityException asThriftException()
public String getUser()
public org.apache.accumulo.core.security.thrift.SecurityErrorCode getErrorCode()
public String getMessage()
getMessage in class ThrowableCopyright © 2016 The Apache Software Foundation. All Rights Reserved.