1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package Torello.Browser;

public class BrowserErrorException extends RuntimeException
{
    /** <EMBED CLASS='external-html' DATA-FILE-ID=SVUIDEX> */
    protected static final long serialVersionUID = 1;

    public final BrowserError browserError;

    public BrowserErrorException(
            final Promise<?>    promise,
            final BrowserError  browserError
        )
    {
        super(
            "The Web-Browser has Reported that an exception has thrown, or an error has " +
            "occured.  Code=" + browserError.code + '\n' +
            "Browser-Error Message: " + browserError.message
        );

        this.browserError = browserError;
    }
}