xjavadoc
Class TagValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by xjavadoc.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
           
 
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()
Overrides:
getMessage in class java.lang.Throwable