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 * <BR /><BR /><DIV CLASS=JDHint> 025 * <B STYLE='color:red;'>Note:</B> The detail message associated with cause is not 026 * automatically incorporated into this exception's detail message. 027 * </DIV> 028 * 029 * @param message The detail message (which is saved for later retrieval by the 030 * {@code Throwable.getMessage()} method). 031 * 032 * @param cause the cause (which is saved for later retrieval by the {@code Throwable.getCause()} 033 * method). (A null value is permitted, and indicates that the cause is non-existent or unknown.) 034 */ 035 public HREFException(String message, Throwable cause) 036 { super(message); initCause(cause); } 037}