Class StaticFileNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.bobocode.bring.web.staticcontent.exception.StaticFileNotFoundException
- All Implemented Interfaces:
Serializable
Exception thrown when a static file is not found.
This exception is annotated with
ResponseStatus
to indicate the corresponding
HTTP status code (400 Bad Request).- Since:
- 1.0
- Author:
- Blyzhnytsia Team
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStaticFileNotFoundException
(String message) Constructs a newStaticFileNotFoundException
with the specified detail message.StaticFileNotFoundException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StaticFileNotFoundException
Constructs a newStaticFileNotFoundException
with the specified detail message.- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).
-
StaticFileNotFoundException
-