Class InvalidAnnotationException

All Implemented Interfaces:
Serializable

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

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • messageKey

      protected String messageKey
      Message resources key
  • Constructor Details

    • InvalidAnnotationException

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

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

    • getMessageKey

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