Class InvalidMetaDataException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidClassMetaDataException, InvalidMemberMetaDataException

public class InvalidMetaDataException extends NucleusFatalUserException
Representation of an exception thrown when an error occurs in Meta-Data definition. All constructors take in a Localiser, a key into the localisation messages, and optional parameters to use in the construction of the message.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • messageKey

      protected String messageKey
      Message resources key
  • Constructor Details

    • InvalidMetaDataException

      protected InvalidMetaDataException(String key, String message)
    • InvalidMetaDataException

      public InvalidMetaDataException(String key, Object... params)
  • Method Details

    • getMessageKey

      public String getMessageKey()
      Accessor for the message key into the localisation system of messages. This is used in tests to validate the correct message is reported.
      Returns:
      Message resource key