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.EntityTypeNotFoundException
- All Implemented Interfaces:
Serializable
Exception thrown when an entity type implementation is not found.
This exception is typically thrown when Doma cannot locate the generated implementation class for an entity type. This usually happens when the annotation processor did not generate the implementation class or when the class is not accessible at runtime.
- See Also:
-
Field Summary
Fields inherited from class org.seasar.doma.DomaException
args, messageResource -
Constructor Summary
ConstructorsConstructorDescriptionEntityTypeNotFoundException(Throwable cause, String entityClassName, String entityTypeClassName) Constructs a new exception with the specified cause, entity class name, and entity type class name. -
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified name of the entity class.Returns the fully qualified name of the entity type implementation class 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
-
EntityTypeNotFoundException
public EntityTypeNotFoundException(Throwable cause, String entityClassName, String entityTypeClassName) Constructs a new exception with the specified cause, entity class name, and entity type class name.- Parameters:
cause- the cause of this exceptionentityClassName- the fully qualified name of the entity classentityTypeClassName- the fully qualified name of the entity type implementation class that was not found
-
-
Method Details
-
getEntityClassName
Returns the fully qualified name of the entity class.- Returns:
- the entity class name
-
getEntityTypeClassName
Returns the fully qualified name of the entity type implementation class that was not found.- Returns:
- the entity type class name
-