Class MissingDatabaseAnnotationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dimstyl.orm.exceptions.MissingDatabaseAnnotationException
All Implemented Interfaces:
Serializable

public class MissingDatabaseAnnotationException extends RuntimeException
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 Details

    • MissingDatabaseAnnotationException

      public MissingDatabaseAnnotationException(String message)
      Constructs a new MissingDatabaseAnnotationException with the specified detail message.
      Parameters:
      message - The detail message explaining the reason for the exception.