Class ScanException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.owasp.validator.html.ScanException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UnknownSelectorException

public class ScanException extends Exception
This exception gets thrown when there is an unexpected error parsing the tainted HTML. The code is sturdy, but the unlikely IOException or SAX exceptions are always theoretically possible.
Author:
Arshan Dabirsiaghi
See Also:
  • Constructor Details

    • ScanException

      public ScanException(Exception e)
    • ScanException

      public ScanException(String s)