Package winstone

Class WinstoneException

  • All Implemented Interfaces:
    Serializable

    public class WinstoneException
    extends RuntimeException
    Master exception within the servlet container. This is thrown whenever a non-recoverable error occurs that we want to throw to the top of the application.
    Version:
    $Id: WinstoneException.java,v 1.1 2004/03/08 15:27:21 rickknowles Exp $
    Author:
    Rick Knowles
    See Also:
    Serialized Form
    • Constructor Detail

      • WinstoneException

        public WinstoneException​(String pMsg)
        Create an exception with a useful message for the system administrator.
        Parameters:
        pMsg - Error message for to be used for administrative troubleshooting
      • WinstoneException

        public WinstoneException​(String pMsg,
                                 Throwable pError)
        Create an exception with a useful message for the system administrator and a nested throwable object.
        Parameters:
        pMsg - Error message for administrative troubleshooting
        pError - The actual exception that occurred
    • Method Detail

      • getNestedError

        public Throwable getNestedError()
        Get the nested error or exception
        Returns:
        The nested error or exception