001package Torello.HTML.Tools.NewsSite; 002 003/** 004 * This exception is thrown by the <CODE><B>NewsSite</B></CODE> class' constructor if improper 005 * input-parameter data is provided to that constructor. 006 * 007 * <BR /><BR /><EMBED CLASS="external-html" DATA-FILE-ID="NEWS_SITE"> 008 */ 009public class NewsSiteException extends RuntimeException 010{ 011 /** <EMBED CLASS="external-html" DATA-FILE-ID="SVUIDEX"> */ 012 public static final long serialVersionUID = 1; 013 014 /** Constructs a {@code NewsSiteException} with no detail message. */ 015 public NewsSiteException() 016 { super(); } 017 018 /** 019 * Constructs a {@code NewsSiteException} with the specified detail message. 020 * @param message the detail message. 021 */ 022 public NewsSiteException(String message) 023 { super(message); } 024 025 /** 026 * Constructs a new {@code NewsSiteException} with the specified detail message and cause. 027 * <BR /><BR /><B>NOTE:</B> The detail message associated with cause is not automatically 028 * incorporated in this exception's detail message. 029 * 030 * @param message The detail message (which is saved for later retrieval by the 031 * {@code Throwable.getMessage()} method). 032 * 033 * @param cause the cause (which is saved for later retrieval by the 034 * {@code Throwable.getCause()} method). (A null value is permitted, and indicates that the 035 * cause is nonexistent or unknown.) 036 */ 037 public NewsSiteException(String message, Throwable cause) 038 { super(message, cause); } 039 040 /** 041 * Constructs a new exception with the specified cause and a detail message of 042 * {@code (cause==null ? null : cause.toString())} (which typically contains the class and 043 * detail message of cause). 044 * This constructor is useful for exceptions that are little more than wrappers for other 045 * {@code Throwable's}. 046 * 047 * @param cause The cause (which is saved for later retrieval by the 048 * {@code Throwable.getCause()} method). (A null value is permitted, and indicates that the 049 * cause is nonexistent or unknown.) 050 */ 051 public NewsSiteException(Throwable cause) 052 { super(cause); } 053}