001package Torello.HTML; 002 003/** 004 * Used to identify problems parsing or searching an {@code 'HREF'} attribute from an HTML 005 * <CODE>'<A HREF=...></CODE> (Anchor) Tag or any Tag that is expected to contain 006 * an {@code 'HREF'} attribute. 007 */ 008public class HREFException 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 HREFException(String message) 018 { super(message); } 019 020 /** 021 * Constructs a new exception with the specified detail message, cause-chain throwable, and one 022 * {@code public, final} parameter: {@code hrefValue}. 023 * 024 * @param message The detail message (which is saved for later retrieval by the 025 * {@code Throwable.getMessage()} method). 026 * 027 * @param cause the cause (which is saved for later retrieval by the {@code Throwable.getCause()} 028 * method). (A null value is permitted, and indicates that the cause is non-existent or unknown.) 029 */ 030 public HREFException(String message, Throwable cause) 031 { super(message); initCause(cause); } 032}