Package ru.vyarus.guicey.gsp.app.filter
Class AssetError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.ws.rs.WebApplicationException
-
- ru.vyarus.guicey.gsp.app.filter.AssetError
-
- All Implemented Interfaces:
java.io.Serializable,TracelessException
public class AssetError extends javax.ws.rs.WebApplicationException implements TracelessException
Exception indicates error serving asset (static resource) withinServerPagesFilter. 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:
ServerPagesFilter, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssetError(javax.servlet.http.HttpServletRequest request, int status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetStatus()
-
-
-
Method Detail
-
getStatus
public int getStatus()
- Specified by:
getStatusin interfaceTracelessException
-
-