Top Description Fields Constructors Methods
org.hibernate.query.sqm

public Class UnknownEntityException

extends SemanticException
Class Inheritance
Imports
org.hibernate.query.SemanticException

Indicates a failure to resolve an entity name in HQL to a known mapped entity type.

API Note

The JPA criteria API requires that this problem be reported as an IllegalArgumentException, and so we usually throw EntityTypeException from the SQM objects, and then wrap as an instance of this exception type in the org.hibernate.query.hql.HqlTranslator.

Author
Steve Ebersole
See Also
EntityTypeException

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
public
public
UnknownEntityException(String message, String entityName)

public
UnknownEntityException(String message, String entityName, Exception cause)

Method Summary

Modifier and TypeMethod and Description
public String

Field Detail

entityNameback to summary
private final String entityName

Constructor Detail

UnknownEntityExceptionback to summary
public UnknownEntityException(String entityName)
UnknownEntityExceptionback to summary
public UnknownEntityException(String message, String entityName)
UnknownEntityExceptionback to summary
public UnknownEntityException(String message, String entityName, Exception cause)

Method Detail

getEntityNameback to summary
public String getEntityName()