001package Torello.Browser; 002 003/** 004 * Internally used exception for any unexpected problems with the Web-Sockets Protocol. If this 005 * exception has been thrown, it means that something fundamental involving communication with the 006 * Browser has broken. This exception is similar to a Java "Assertion Error." 007 */ 008public class RDPException extends RuntimeException 009{ 010 /** <EMBED CLASS='external-html' DATA-FILE-ID=SVUIDEX> */ 011 protected static final long serialVersionUID = 1L; 012 013 /** Constructs a {@code RDPException} with no detail message. */ 014 public RDPException() 015 { super(); } 016 017 /** 018 * Constructs a {@code RDPException} with the specified detail message. 019 * @param message the detail message. 020 */ 021 public RDPException(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 RDPException(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 RDPException(Throwable cause) 053 { super(cause); } 054}