001package Torello.Browser;
002
003/**
004 * An issue with the Web-Sockets Transport Layer has occured.  If this error throws, it is not 
005 * likely owing to user error, but rather a CDP implementation which still requires further
006 * testing.
007 */
008public class UnknownWebSocketsError extends Error 
009{
010    /** <EMBED CLASS='external-html' DATA-FILE-ID=SVUIDEX> */
011    protected static final long serialVersionUID = 1L;
012
013    /** Constructs a {@code UnknownWebSocketsError} with no detail message. */
014    public UnknownWebSocketsError()
015    { super(); }
016
017    /**
018     * Constructs a {@code UnknownWebSocketsError} with the specified detail message.
019     * @param message the detail message.
020     */
021    public UnknownWebSocketsError(String message)
022    { super(message); }
023
024    /**
025     * Constructs a new exception with the specified detail message and cause.
026     * 
027     * <BR /><BR /><DIV CLASS=JDHint>
028     * <B STYLE='color:red;'>Note:</B> The detail message associated with cause is not
029     * automatically incorporated into this exception's detail message.
030     * </DIV>
031     * 
032     * @param message The detail message (which is saved for later retrieval by the
033     * {@code Throwable.getMessage()} method).
034     * 
035     * @param cause the cause (which is saved for later retrieval by the
036     * {@code Throwable.getCause()} method).  (A null value is permitted, and indicates that the
037     * cause is non-existent or unknown.)
038     */
039    public UnknownWebSocketsError(String message, Throwable cause)
040    { super(message, cause); }
041
042    /**
043     * Constructs a new exception with the specified cause and a detail message of
044     * {@code (cause==null ? null : cause.toString())} (which typically contains the class and
045     * detail message of cause).  This constructor is useful for exceptions that are little more
046     * than wrappers for other throwables.
047     * 
048     * @param cause The cause (which is saved for later retrieval by the
049     * {@code Throwable.getCause()} method).  (A null value is permitted, and indicates that the
050     * cause is non-existent or unknown.)
051     */
052    public UnknownWebSocketsError(Throwable cause)
053    { super(cause); }
054}
055