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.
Constructor and Description |
---|
BuilderException(String msg)
Creates a new instance of
BuilderException and sets the
error message. |
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. |
BuilderException(URL script,
Throwable cause)
Creates a new instance of
BuilderException and sets the
script URL and the root cause. |
Modifier and Type | Method and Description |
---|---|
URL |
getScriptURL()
Returns the URL of the failing script.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BuilderException(String msg)
BuilderException
and sets the
error message.msg
- the error messagepublic BuilderException(URL script, Throwable cause)
BuilderException
and sets the
script URL and the root cause.script
- the URL of the scriptcause
- the root causepublic URL getScriptURL()
Copyright © 2016 The JGUIraffe Team. All rights reserved.