Class InvalidAnnotationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidAnnotationException
    extends NucleusUserException
    Exception thrown when an annotation has been specified that is invalid in the circumstances.
    See Also:
    Serialized Form
    • Field Detail

      • messageKey

        protected java.lang.String messageKey
        Message resources key
    • Constructor Detail

      • InvalidAnnotationException

        public InvalidAnnotationException​(java.lang.String key,
                                          java.lang.Throwable cause,
                                          java.lang.Object... params)
        Constructor with message resource, message param and cause exception
        Parameters:
        key - message resources key
        cause - cause exception
        params - parameters
      • InvalidAnnotationException

        public InvalidAnnotationException​(java.lang.String key,
                                          java.lang.Object... params)
        Constructor with message resource, message params
        Parameters:
        key - message resources key
        params - parameters to the message
    • Method Detail

      • getMessageKey

        public java.lang.String getMessageKey()
        Return message resource key
        Returns:
        Message resource key