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