Class ConsoleException

  • All Implemented Interfaces:
    Serializable

    public class ConsoleException
    extends Exception
    This exception is thrown to signal to the view bean that incorrect behavior is encountered in processing a request.
    See Also:
    Serialized Form
    • Constructor Detail

      • ConsoleException

        public ConsoleException​(String msg)
        Creates a Console Exception object.
        Parameters:
        msg - exception message.
      • ConsoleException

        public ConsoleException​(List errors)
        Creates a Console Exception object.
        Parameters:
        errors - list of error messages.
      • ConsoleException

        public ConsoleException​(Throwable t)
        Creates a Console Exception object.
        Parameters:
        t - Throwable instance.
    • Method Detail

      • getErrors

        public List getErrors()
        Returns error list set in the current exception.
        Returns:
        error list.