Class WebErrorImpl

  • All Implemented Interfaces:
    WebError

    public class WebErrorImpl
    extends java.lang.Object
    implements WebError
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String error  
      private PageImpl page  
    • Constructor Summary

      Constructors 
      Constructor Description
      WebErrorImpl​(PageImpl page, java.lang.String error)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String error()
      Unhandled error that was thrown.
      PageImpl page()
      The page that produced this unhandled exception, if any.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • error

        private final java.lang.String error
    • Constructor Detail

      • WebErrorImpl

        WebErrorImpl​(PageImpl page,
                     java.lang.String error)
    • Method Detail

      • page

        public PageImpl page()
        Description copied from interface: WebError
        The page that produced this unhandled exception, if any.
        Specified by:
        page in interface WebError
      • error

        public java.lang.String error()
        Description copied from interface: WebError
        Unhandled error that was thrown.
        Specified by:
        error in interface WebError