类 BasicPathUsageException

  • 所有已实现的接口:
    Serializable

    public class BasicPathUsageException
    extends RuntimeException
    Represents an incorrect usage of a basic path. Generally this means an attempt to de-reference a basic attribute path.
    作者:
    Steve Ebersole
    另请参阅:
    序列化表格
    • 构造器详细资料

      • BasicPathUsageException

        public BasicPathUsageException​(String message,
                                       javax.persistence.metamodel.Attribute<?,​?> attribute)
        Construct the usage exception.
        参数:
        message - An error message describing the incorrect usage.
        attribute - The basic attribute involved.
      • BasicPathUsageException

        public BasicPathUsageException​(String message,
                                       Throwable cause,
                                       javax.persistence.metamodel.Attribute<?,​?> attribute)
        Construct the usage exception.
        参数:
        message - An error message describing the incorrect usage.
        cause - An underlying cause.
        attribute - The basic attribute involved.
    • 方法详细资料

      • getAttribute

        public javax.persistence.metamodel.Attribute<?,​?> getAttribute()