Module org.seasar.doma.core
Package org.seasar.doma.jdbc.entity
Class EntityPropertyNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.seasar.doma.DomaException
org.seasar.doma.jdbc.JdbcException
org.seasar.doma.jdbc.entity.EntityPropertyNotFoundException
- All Implemented Interfaces:
Serializable
Exception thrown when a property is not found in an entity class.
This exception is typically thrown when attempting to access a property that does not exist in an entity, either through reflection or when mapping query results to entity objects.
- See Also:
-
Field Summary
Fields inherited from class org.seasar.doma.DomaException
args, messageResource -
Constructor Summary
ConstructorsConstructorDescriptionEntityPropertyNotFoundException(String entityClassName, String entityPropertyName) Constructs a new exception with the specified entity class name and property name. -
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified name of the entity class.Returns the name of the property that was not found.Methods inherited from class org.seasar.doma.jdbc.JdbcException
choiceSqlMethods inherited from class org.seasar.doma.DomaException
getArgs, getMessageResourceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EntityPropertyNotFoundException
Constructs a new exception with the specified entity class name and property name.- Parameters:
entityClassName- the fully qualified name of the entity classentityPropertyName- the name of the property that was not found
-
-
Method Details
-
getEntityClassName
Returns the fully qualified name of the entity class.- Returns:
- the entity class name
-
getEntityPropertyName
Returns the name of the property that was not found.- Returns:
- the entity property name
-