pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.util.xml
Class IllegalXHTMLException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.torweg.pulse.service.PulseException
                  extended by 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

Nested Class Summary
static class IllegalXHTMLException.Type
          the different causes for an IllegalXHTMLException.
 
Constructor Summary
protected IllegalXHTMLException(IllegalXHTMLException.Type c)
          creates a new IllegalXHTMLException of the given type.
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.
protected IllegalXHTMLException(java.lang.String msg, IllegalXHTMLException.Type c)
          creates a new IllegalXHTMLException with the given message and type.
 
Method Summary
 IllegalXHTMLException.Type getType()
          returns the type of the exception.
 
Methods inherited from class org.torweg.pulse.service.PulseException
getDetailMessage
 
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
 

Constructor Detail

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 message
c - 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 message
e - the cause
Method Detail

getType

public final IllegalXHTMLException.Type getType()
returns the type of the exception.

Returns:
the type