xjavadoc
Class TagValidationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--xjavadoc.TagValidationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UnknownTagException

public class TagValidationException
extends 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.3 $
Author:
Aslak Hellesøy
See Also:
Serialized Form

Constructor Summary
TagValidationException(String message, XTag tag)
           
 
Method Summary
 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
 

Constructor Detail

TagValidationException

public TagValidationException(String message,
                              XTag tag)
Method Detail

getTag

public final XTag getTag()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2002-2003 XDoclet Team. All Rights Reserved.