/** * Constructs an exception. */ public BulkAccessorException(String message) { super(message); index = -1; initCause(null); }
/** * Constructs an exception. * * @param index the index of the property that causes an exception. */ public BulkAccessorException(Throwable cause, int index) { this("Property " + index); this.index = index; initCause(cause); }
/** * Constructs an exception. */ public BulkAccessorException(String message, Throwable cause) { super(message); index = -1; initCause(cause); }
/** * Constructs an exception. */ public BulkAccessorException(String message, Throwable cause) { super(message); index = -1; initCause(cause); }
/** * Constructs an exception. */ public BulkAccessorException(String message) { super(message); index = -1; initCause(null); }
/** * Constructs an exception. * * @param index the index of the property that causes an exception. */ public BulkAccessorException(Throwable cause, int index) { this("Property " + index); this.index = index; initCause(cause); }