/** * @param user * the relevant user for the security violation * @param errorcode * the specific reason for this exception */ public AccumuloSecurityException(final String user, final SecurityErrorCode errorcode) { super(getDefaultErrorMessage(errorcode)); this.user = user; this.errorCode = errorcode == null ? SecurityErrorCode.DEFAULT_SECURITY_ERROR : errorcode; }
/** * @param user * the relevant user for the security violation * @param errorcode * the specific reason for this exception * @param tableInfo * the relevant tableInfo for the security violation */ public AccumuloSecurityException(final String user, final SecurityErrorCode errorcode, final String tableInfo) { super(getDefaultErrorMessage(errorcode)); this.user = user; this.errorCode = errorcode == null ? SecurityErrorCode.DEFAULT_SECURITY_ERROR : errorcode; this.tableInfo = tableInfo; }
/** * @param user * the relevant user for the security violation * @param errorcode * the specific reason for this exception * @param cause * the exception that caused this violation */ public AccumuloSecurityException(final String user, final SecurityErrorCode errorcode, final Throwable cause) { super(getDefaultErrorMessage(errorcode), cause); this.user = user; this.errorCode = errorcode == null ? SecurityErrorCode.DEFAULT_SECURITY_ERROR : errorcode; }
/** * @param user * the relevant user for the security violation * @param errorcode * the specific reason for this exception * @param tableInfo * the relevant tableInfo for the security violation * @param cause * the exception that caused this violation */ public AccumuloSecurityException(final String user, final SecurityErrorCode errorcode, final String tableInfo, final Throwable cause) { super(getDefaultErrorMessage(errorcode), cause); this.user = user; this.errorCode = errorcode == null ? SecurityErrorCode.DEFAULT_SECURITY_ERROR : errorcode; this.tableInfo = tableInfo; }
/** * @param user * the relevant user for the security violation * @param errorcode * the specific reason for this exception */ public AccumuloSecurityException(final String user, final SecurityErrorCode errorcode) { super(getDefaultErrorMessage(errorcode)); this.user = user; this.errorCode = errorcode == null ? SecurityErrorCode.DEFAULT_SECURITY_ERROR : errorcode; }
/** * @param user * the relevant user for the security violation * @param errorcode * the specific reason for this exception * @param cause * the exception that caused this violation */ public AccumuloSecurityException(final String user, final SecurityErrorCode errorcode, final Throwable cause) { super(getDefaultErrorMessage(errorcode), cause); this.user = user; this.errorCode = errorcode == null ? SecurityErrorCode.DEFAULT_SECURITY_ERROR : errorcode; }
/** * @param user * the relevant user for the security violation * @param errorcode * the specific reason for this exception * @param tableInfo * the relevant tableInfo for the security violation */ public AccumuloSecurityException(final String user, final SecurityErrorCode errorcode, final String tableInfo) { super(getDefaultErrorMessage(errorcode)); this.user = user; this.errorCode = errorcode == null ? SecurityErrorCode.DEFAULT_SECURITY_ERROR : errorcode; this.tableInfo = tableInfo; }
/** * @param user * the relevant user for the security violation * @param errorcode * the specific reason for this exception * @param tableInfo * the relevant tableInfo for the security violation * @param cause * the exception that caused this violation */ public AccumuloSecurityException(final String user, final SecurityErrorCode errorcode, final String tableInfo, final Throwable cause) { super(getDefaultErrorMessage(errorcode), cause); this.user = user; this.errorCode = errorcode == null ? SecurityErrorCode.DEFAULT_SECURITY_ERROR : errorcode; this.tableInfo = tableInfo; }