public class

BulkAccessorException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.hibernate.bytecode.javassist.BulkAccessorException

Class Overview

An exception thrown while generating a bulk accessor.

Summary

Public Constructors
BulkAccessorException(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.
Public Methods
Throwable getCause()
Gets the cause of this throwable.
int getIndex()
Returns the index of the property that causes this exception.
synchronized Throwable initCause(Throwable cause)
Initializes the cause of this throwable.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public BulkAccessorException (String message)

Constructs an exception.

public BulkAccessorException (String message, int index)

Constructs an exception.

Parameters
index the index of the property that causes an exception.

public BulkAccessorException (String message, Throwable cause)

Constructs an exception.

public BulkAccessorException (Throwable cause, int index)

Constructs an exception.

Parameters
index the index of the property that causes an exception.

Public Methods

public Throwable getCause ()

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

public int getIndex ()

Returns the index of the property that causes this exception.

Returns
  • -1 if the index is not specified.

public synchronized Throwable initCause (Throwable cause)

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