2.17.2: 2011-06-17

net.sf.basedb.core
Class InvalidAnnotationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.basedb.core.BaseException
                  extended by net.sf.basedb.core.InvalidDataException
                      extended by net.sf.basedb.core.InvalidAnnotationException
All Implemented Interfaces:
Serializable

public class InvalidAnnotationException
extends InvalidDataException

Version:
2.0
Author:
Nicklas
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
InvalidAnnotationException()
          Create a new InvalidAnnotationException object.
InvalidAnnotationException(AnnotationType annotationType, Item itemType)
          Create a new InvalidAnnotationException object when the annotation type cannot be used for the specified item type.
InvalidAnnotationException(String message)
          Create a new InvalidAnnotationException object with the specified message.
 
Method Summary
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

InvalidAnnotationException

public InvalidAnnotationException()
Create a new InvalidAnnotationException object.


InvalidAnnotationException

public InvalidAnnotationException(String message)
Create a new InvalidAnnotationException object with the specified message.

Parameters:
message - The message to throw with the exception

InvalidAnnotationException

public InvalidAnnotationException(AnnotationType annotationType,
                                  Item itemType)
Create a new InvalidAnnotationException object when the annotation type cannot be used for the specified item type.

Parameters:
annotationType - The annotation type used to annotate.
itemType - Kind of item that couldn't be annotated.

2.17.2: 2011-06-17