Top Description Fields Constructors Methods
org.hibernate.query.criteria.internal

public Class BasicPathUsageException

extends RuntimeException
Class Inheritance
Imports
javax.persistence.metamodel.Attribute

Represents an incorrect usage of a basic path. Generally this means an attempt to de-reference a basic attribute path.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final Attribute<?, ?>

Constructor Summary

AccessConstructor and Description
public
BasicPathUsageException(String
An error message describing the incorrect usage.
message
,
Attribute<?, ?>
The basic attribute involved.
attribute
)

Construct the usage exception.

public
BasicPathUsageException(String
An error message describing the incorrect usage.
message
,
Throwable
An underlying cause.
cause
,
Attribute<?, ?>
The basic attribute involved.
attribute
)

Construct the usage exception.

Method Summary

Modifier and TypeMethod and Description
public Attribute<?, ?>

Field Detail

attributeback to summary
private final Attribute<?, ?> attribute

Constructor Detail

BasicPathUsageExceptionback to summary
public BasicPathUsageException(String message, Attribute<?, ?> attribute)

Construct the usage exception.

Parameters
message:String

An error message describing the incorrect usage.

attribute:Attribute<?, ?>

The basic attribute involved.

BasicPathUsageExceptionback to summary
public BasicPathUsageException(String message, Throwable cause, Attribute<?, ?> attribute)

Construct the usage exception.

Parameters
message:String

An error message describing the incorrect usage.

cause:Throwable

An underlying cause.

attribute:Attribute<?, ?>

The basic attribute involved.

Method Detail

getAttributeback to summary
public Attribute<?, ?> getAttribute()