类 BulkAccessorException

  • 所有已实现的接口:
    Serializable

    public class BulkAccessorException
    extends HibernateException
    An exception thrown while generating a bulk accessor.
    作者:
    Muga Nishizawa, modified by Shigeru Chiba
    另请参阅:
    序列化表格
    • 构造器详细资料

      • BulkAccessorException

        public BulkAccessorException​(String message)
        Constructs an exception.
        参数:
        message - Message explaining the exception condition
      • BulkAccessorException

        public BulkAccessorException​(String message,
                                     int index)
        Constructs an exception.
        参数:
        message - Message explaining the exception condition
        index - The index of the property that causes an exception.
      • BulkAccessorException

        public BulkAccessorException​(String message,
                                     Exception cause)
        Constructs an exception.
        参数:
        message - Message explaining the exception condition
        cause - The underlying cause
      • BulkAccessorException

        public BulkAccessorException​(String message,
                                     int index,
                                     Exception cause)
        Constructs an exception.
        参数:
        message - Message explaining the exception condition
        index - The index of the property that causes an exception.
        cause - The underlying cause
    • 方法详细资料

      • getIndex

        public int getIndex()
        Returns the index of the property that causes this exception.
        返回:
        -1 if the index is not specified.