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

public class AssetError extends jakarta.ws.rs.WebApplicationException implements 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 Details

    • AssetError

      public AssetError(jakarta.servlet.http.HttpServletRequest request, int status)
  • Method Details