org.torweg.pulse.util.xml
Class IllegalXHTMLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.torweg.pulse.service.PulseException
org.torweg.pulse.util.xml.IllegalXHTMLException
- All Implemented Interfaces:
- java.io.Serializable
public class IllegalXHTMLException
- extends PulseException
is an exception thrown when illegal XHTML is detected by on of
XMLConverter.getCleanedXHTML(String), XMLConverter.getCleanedXHTML(java.io.Reader) or
XMLConverter.getCleanedXHTML(java.io.InputStream).
- Version:
- $Revision: 1825 $
- Author:
- Thomas Weber
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IllegalXHTMLException
protected IllegalXHTMLException(IllegalXHTMLException.Type c)
- creates a new
IllegalXHTMLException of the given type.
- Parameters:
c - the type
IllegalXHTMLException
protected IllegalXHTMLException(java.lang.String msg, IllegalXHTMLException.Type c)
- creates a new
IllegalXHTMLException with the given message and
type.
- Parameters:
msg - the messagec - the type
IllegalXHTMLException
protected IllegalXHTMLException(java.lang.String msg,
java.lang.Exception e)
- creates a new
IllegalXHTMLException with the given message and
cause and a type of IllegalXHTMLException.Type.UNKNOWN.
- Parameters:
msg - the messagee - the cause
getType
public final IllegalXHTMLException.Type getType()
- returns the type of the exception.
- Returns:
- the type