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,
String tableInfo) |
AccumuloSecurityException(String user,
org.apache.accumulo.core.client.impl.thrift.SecurityErrorCode errorcode,
String tableInfo,
Throwable cause) |
AccumuloSecurityException(String user,
org.apache.accumulo.core.client.impl.thrift.SecurityErrorCode errorcode,
Throwable cause) |
AccumuloSecurityException(org.apache.accumulo.core.client.impl.thrift.ThriftSecurityException thrift)
Construct a user-facing exception from a serialized version.
|
Modifier and Type | Method and Description |
---|---|
org.apache.accumulo.core.client.impl.thrift.ThriftSecurityException |
asThriftException() |
String |
getMessage() |
SecurityErrorCode |
getSecurityErrorCode() |
String |
getTableInfo() |
String |
getUser() |
void |
setTableInfo(String tableInfo) |
void |
setUser(String s) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AccumuloSecurityException(org.apache.accumulo.core.client.impl.thrift.ThriftSecurityException thrift)
thrift
- a serialized versionpublic 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, String tableInfo, Throwable cause)
user
- the relevant user for the security violationerrorcode
- the specific reason for this exceptiontableInfo
- the relevant tableInfo for the security violationcause
- 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 AccumuloSecurityException(String user, org.apache.accumulo.core.client.impl.thrift.SecurityErrorCode errorcode, String tableInfo)
user
- the relevant user for the security violationerrorcode
- the specific reason for this exceptiontableInfo
- the relevant tableInfo for the security violationpublic org.apache.accumulo.core.client.impl.thrift.ThriftSecurityException asThriftException()
public String getUser()
public void setUser(String s)
public String getTableInfo()
public void setTableInfo(String tableInfo)
public SecurityErrorCode getSecurityErrorCode()
public String getMessage()
getMessage
in class Throwable
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.