Package ru.vyarus.guicey.gsp.app.filter
Class AssetError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.ws.rs.WebApplicationException
ru.vyarus.guicey.gsp.app.filter.AssetError
- All Implemented Interfaces:
Serializable,TracelessException
Exception indicates error serving asset (static resource) within
ServerPagesFilter.
In most cases it would mean 404 error (resource not found).
Custom exception type used only to simplify asset error detection (differentiate from rest errors).
- Since:
- 29.01.2019
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jakarta.ws.rs.WebApplicationException
getResponseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AssetError
public AssetError(jakarta.servlet.http.HttpServletRequest request, int status)
-
-
Method Details
-
getStatus
public int getStatus()- Specified by:
getStatusin interfaceTracelessException
-