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() |
String |
getMessage() |
String |
getUser() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, 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 SecurityErrorCode getErrorCode()
public String getMessage()
getMessage
in class Throwable
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.