Class MissingDatabaseAnnotationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dimstyl.orm.exceptions.MissingDatabaseAnnotationException
- All Implemented Interfaces:
Serializable
Exception thrown when an entity class is missing the required
@Database
annotation.
This exception is used to indicate that a class intended to represent a database configuration
does not have the necessary @Database
annotation, preventing it from being properly
recognized by the ORM framework.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMissingDatabaseAnnotationException
(String message) Constructs a newMissingDatabaseAnnotationException
with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MissingDatabaseAnnotationException
Constructs a newMissingDatabaseAnnotationException
with the specified detail message.- Parameters:
message
- The detail message explaining the reason for the exception.
-