Module org.seasar.doma.core
Package org.seasar.doma.jdbc.entity
Class EntityPropertyNotDefinedException
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.EntityPropertyNotDefinedException
- All Implemented Interfaces:
Serializable
Exception thrown when a property is referenced but not defined in an entity class.
This exception is typically thrown when attempting to access a property that exists in the
entity class but is not properly defined as a persistent property (e.g., not annotated with
Column or excluded from persistence).
- See Also:
-
Field Summary
Fields inherited from class org.seasar.doma.DomaException
args, messageResource -
Constructor Summary
ConstructorsConstructorDescriptionEntityPropertyNotDefinedException(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 is not defined.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
-
EntityPropertyNotDefinedException
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 is not defined
-
-
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 is not defined.- Returns:
- the entity property name
-