Class InvalidAnnotationException

All Implemented Interfaces:
Serializable

public class InvalidAnnotationException
extends InvalidDataException
Version:
2.0
Author:
Nicklas
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • 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.