001package Torello.Browser; 002 003public class BrowserErrorException extends RuntimeException 004{ 005 /** <EMBED CLASS='external-html' DATA-FILE-ID=SVUIDEX> */ 006 protected static final long serialVersionUID = 1; 007 008 public final BrowserError browserError; 009 010 public BrowserErrorException( 011 final Promise<?> promise, 012 final BrowserError browserError 013 ) 014 { 015 super( 016 "The Web-Browser has Reported that an exception has thrown, or an error has " + 017 "occured. Code=" + browserError.code + '\n' + 018 "Browser-Error Message: " + browserError.message 019 ); 020 021 this.browserError = browserError; 022 } 023}