Class BuilderException

  • All Implemented Interfaces:
    Serializable

    public class BuilderException
    extends Exception

    An exception class for reporting error conditions related to the GUI builder.

    As an additional property this exception class stores the URL of the script that caused the error.

    Version:
    $Id: BuilderException.java 205 2012-01-29 18:29:57Z oheger $
    Author:
    Oliver Heger
    See Also:
    Serialized Form
    • Constructor Detail

      • BuilderException

        public BuilderException​(String msg)
        Creates a new instance of BuilderException and sets the error message.
        Parameters:
        msg - the error message
      • BuilderException

        public BuilderException​(URL script,
                                Throwable cause)
        Creates a new instance of BuilderException and sets the script URL and the root cause.
        Parameters:
        script - the URL of the script
        cause - the root cause
      • BuilderException

        public BuilderException​(URL script,
                                String msg,
                                Throwable cause)
        Creates a new instance of BuilderException and sets the script URL, the root cause, and an additional message.
        Parameters:
        script - the script URL
        msg - the error message
        cause - the root cause
    • Method Detail

      • getScriptURL

        public URL getScriptURL()
        Returns the URL of the failing script.
        Returns:
        the URL of the script