Package mg.emberframework.core.exception
Class AnnotationNotPresentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
mg.emberframework.core.exception.AnnotationNotPresentException
- All Implemented Interfaces:
Serializable
Thrown when a required annotation is missing from a class or method.
This exception indicates that an expected annotation, such as @Controller
or @Get
, is not present where it is required by the framework.
- Since:
- 1.0.0
- Version:
- 1.0.0
- Author:
- Sandratra NIAINA
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotationNotPresentException
(String message) Constructs an exception with a 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
-
AnnotationNotPresentException
Constructs an exception with a detail message.- Parameters:
message
- the detail message explaining the missing annotation
-