Package mg.emberframework.core.exception
Class DuplicateUrlException
java.lang.Object
java.lang.Throwable
java.lang.Exception
mg.emberframework.core.exception.DuplicateUrlException
- All Implemented Interfaces:
Serializable
Thrown when a duplicate URL mapping is detected.
This exception is raised when multiple methods or controllers attempt to map
to the same URL, as defined by @Url
, causing a conflict.
- Since:
- 1.0.0
- Version:
- 1.0.0
- Author:
- Sandratra NIAINA
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDuplicateUrlException
(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
-
DuplicateUrlException
Constructs an exception with a detail message.- Parameters:
message
- the detail message explaining the duplicate URL
-