Last update: 2011-06-23

org.proteios.core
Class InvalidAnnotationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.proteios.core.BaseException
                  extended by org.proteios.core.InvalidDataException
                      extended by org.proteios.core.InvalidAnnotationException
All Implemented Interfaces:
Serializable

public class InvalidAnnotationException
extends InvalidDataException

Version:
2.0
Author:
Nicklas
See Also:
Serialized Form

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
 

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.


Last update: 2011-06-23