001package Torello.HTML; 002 003/** 004 * Used to identify problems parsing or searching a {@code 'SRC'} attribute from an HTML 005 * <CODE>'<IMG SRC=...></CODE> Tag or any Tag that is expected to contain a 006 * {@code 'SRC'} attribute. 007 */ 008public class SRCException extends IllegalArgumentException 009{ 010 /** <EMBED CLASS='external-html' DATA-FILE-ID=SVUIDEX> */ 011 public static final long serialVersionUID = 1; 012 013 /** 014 * Constructs a new exception with the specified detail message. 015 * @param message the detail message. 016 */ 017 public SRCException(String message) 018 { super(message); } 019 020 /** 021 * Constructs a new exception with the specified detail message, and cause-chain throwable. 022 * 023 * @param message The detail message (which is saved for later retrieval by the 024 * {@code Throwable.getMessage()} method). 025 * 026 * @param cause the cause (which is saved for later retrieval by the 027 * {@code Throwable.getCause()} method). (A null value is permitted, and indicates that the 028 * cause is nonexistent or unknown.) 029 */ 030 public SRCException(String message, Throwable cause) 031 { super(message); initCause(cause); } 032}