Package org.hibernate.bytecode.javassist
Class BulkAccessorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hibernate.bytecode.javassist.BulkAccessorException
- All Implemented Interfaces:
Serializable
An exception thrown while generating a bulk accessor.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBulkAccessorException(String message) Constructs an exception.BulkAccessorException(String message, int index) Constructs an exception.BulkAccessorException(String message, Throwable cause) Constructs an exception.BulkAccessorException(Throwable cause, int index) Constructs an exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BulkAccessorException
Constructs an exception. -
BulkAccessorException
Constructs an exception.- Parameters:
index- the index of the property that causes an exception.
-
BulkAccessorException
Constructs an exception. -
BulkAccessorException
Constructs an exception.- Parameters:
index- the index of the property that causes an exception.
-
-
Method Details
-
getCause
Gets the cause of this throwable. It is for JDK 1.3 compatibility. -
initCause
Initializes the cause of this throwable. It is for JDK 1.3 compatibility. -
getIndex
public int getIndex()Returns the index of the property that causes this exception.- Returns:
- -1 if the index is not specified.
-