Top Description Fields Constructors Methods
org.hibernate.bytecode.javassist

public Class BulkAccessorException

extends RuntimeException
Class Inheritance

An exception thrown while generating a bulk accessor.
Authors
Muga Nishizawa, modified by Shigeru Chiba

Field Summary

Modifier and TypeField and Description
private int
private Throwable

Constructor Summary

AccessConstructor and Description
public
BulkAccessorException(String message)

Constructs an exception.

public
BulkAccessorException(String message, int
the index of the property that causes an exception.
index
)

Constructs an exception.

public
BulkAccessorException(String message, Throwable cause)

Constructs an exception.

public
BulkAccessorException(Throwable cause, int
the index of the property that causes an exception.
index
)

Constructs an exception.

Method Summary

Modifier and TypeMethod and Description
public Throwable
getCause()

Overrides java.lang.Throwable.getCause.

Gets the cause of this throwable.
public int

Returns:

-1 if the index is not specified.
getIndex
()

Returns the index of the property that causes this exception.

public synchronized Throwable
initCause(Throwable
the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
cause
)

Overrides java.lang.Throwable.initCause.

Initializes the cause of this throwable.

Field Detail

indexback to summary
private int index
myCauseback to summary
private Throwable myCause

Constructor Detail

BulkAccessorExceptionback to summary
public BulkAccessorException(String message)

Constructs an exception.

BulkAccessorExceptionback to summary
public BulkAccessorException(String message, int index)

Constructs an exception.

Parameters
index:int

the index of the property that causes an exception.

BulkAccessorExceptionback to summary
public BulkAccessorException(String message, Throwable cause)

Constructs an exception.

BulkAccessorExceptionback to summary
public BulkAccessorException(Throwable cause, int index)

Constructs an exception.

Parameters
index:int

the index of the property that causes an exception.

Method Detail

getCauseback to summary
public Throwable getCause()

Overrides java.lang.Throwable.getCause.

Gets the cause of this throwable. It is for JDK 1.3 compatibility.

Returns:Throwable

Doc from java.lang.Throwable.getCause.

the cause of this throwable or null if the cause is nonexistent or unknown.

getIndexback to summary
public int getIndex()

Returns the index of the property that causes this exception.

Returns:int

-1 if the index is not specified.

initCauseback to summary
public synchronized Throwable initCause(Throwable cause)

Overrides java.lang.Throwable.initCause.

Initializes the cause of this throwable. It is for JDK 1.3 compatibility.

Parameters
cause:Throwable

Doc from java.lang.Throwable.initCause.

the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

Returns:Throwable

Doc from java.lang.Throwable.initCause.

a reference to this Throwable instance.