Class AssetError

  • All Implemented Interfaces:
    java.io.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:
    ServerPagesFilter, Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AssetError​(jakarta.servlet.http.HttpServletRequest request, int status)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getStatus()  
      • Methods inherited from class jakarta.ws.rs.WebApplicationException

        getResponse
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AssetError

        public AssetError​(jakarta.servlet.http.HttpServletRequest request,
                          int status)