001 /* 002 * Created on Dec 23, 2003 003 */ 004 package net.sf.jolene.dom; 005 006 007 /** 008 * Exception thrown by the parser if it finds some unparsable html. 009 * 010 * @author Dan Howard 011 */ 012 public final class MalformedHTMLException extends RuntimeException { 013 014 /** 015 * 016 */ 017 public MalformedHTMLException() { 018 } 019 020 /** 021 * Constructs the exception with the specified message string. 022 * 023 * @param message - message string 024 */ 025 public MalformedHTMLException(String message) { 026 super(message); 027 } 028 029 /** 030 * Constructs the exception with the specified cause. 031 * 032 * @param cause - cause of the exception 033 */ 034 public MalformedHTMLException(Throwable cause) { 035 super(cause); 036 } 037 038 /** 039 * Constructs the exception with the specified message string and cause. 040 * 041 * @param message - message string 042 * @param cause - cause of the exception 043 */ 044 public MalformedHTMLException(String message, Throwable cause) { 045 super(message, cause); 046 } 047 048 }