Package net.sf.basedb.core
Class InvalidAnnotationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.sf.basedb.core.BaseException
-
- net.sf.basedb.core.InvalidDataException
-
- 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
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description InvalidAnnotationException()
Create a newInvalidAnnotationException
object.InvalidAnnotationException(String message)
Create a newInvalidAnnotationException
object with the specifiedmessage
.InvalidAnnotationException(AnnotationType annotationType, Item itemType)
Create a newInvalidAnnotationException
object when the annotation type cannot be used for the specified item type.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InvalidAnnotationException
public InvalidAnnotationException()
Create a newInvalidAnnotationException
object.
-
InvalidAnnotationException
public InvalidAnnotationException(String message)
Create a newInvalidAnnotationException
object with the specifiedmessage
.- Parameters:
message
- The message to throw with the exception
-
InvalidAnnotationException
public InvalidAnnotationException(AnnotationType annotationType, Item itemType)
Create a newInvalidAnnotationException
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.
-
-