Class ErrorEmitSvlt

    • Field Detail

      • id

        protected transient String id
      • caller

        protected transient Object caller
      • messages

        protected transient org.apache.struts.util.MessageResources messages
      • errors

        protected transient org.apache.struts.action.ActionErrors errors
      • exceptionPname

        protected transient String exceptionPname
    • Constructor Detail

      • ErrorEmitSvlt

        public ErrorEmitSvlt()
    • Method Detail

      • reinit

        public void reinit​(String id,
                           Object caller,
                           org.apache.struts.util.MessageResources messages,
                           org.apache.struts.action.ActionErrors errors,
                           String exceptionPname,
                           boolean clear)
        Generation of errors in the servlet world means adding them to the errors object. We need to call this routine on every entry to the application
        Parameters:
        id - An identifying name
        caller - Used for log identification
        messages - Resources
        errors - Error message will be appended on failure.
        exceptionPname - Property name for exceptions
        clear - true to clear list
      • clear

        public void clear()
        Indicate no messages emitted. Null in this implementation.
        Specified by:
        clear in interface MessageEmit
      • messagesEmitted

        public boolean messagesEmitted()
        Specified by:
        messagesEmitted in interface MessageEmit
        Returns:
        true if any messages emitted
      • getErrors

        public org.apache.struts.action.ActionErrors getErrors()
        Returns:
        errors
      • haveOutputObject

        protected boolean haveOutputObject()
      • className

        protected String className()
      • getLogger

        public org.bedework.util.logging.BwLogger getLogger()
        Specified by:
        getLogger in interface org.bedework.util.logging.Logged