xjavadoc
Class TagValidationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byxjavadoc.TagValidationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
UnknownTagException

public class TagValidationException
extends java.lang.RuntimeException

This exception will be thrown if a tag is misnamed or has bad content. This exception is a RuntimeException, in order to not break the existing API.

Version:
$Revision: 1.4 $
Author:
Aslak Helles?y
See Also:
Serialized Form

Field Summary
private  XTag _tag
           
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
TagValidationException(java.lang.String message, XTag tag)
           
 
Method Summary
 java.lang.String getMessage()
           
 XTag getTag()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_tag

private XTag _tag
Constructor Detail

TagValidationException

public TagValidationException(java.lang.String message,
                              XTag tag)
Method Detail

getTag

public final XTag getTag()

getMessage

public java.lang.String getMessage()