Class MentionException

  • All Implemented Interfaces:
    Serializable

    public class MentionException
    extends Exception
    Generic exception for the Mention module.
    Since:
    14.0RC1
    Version:
    $Id: c85209026dd045c8e8816f8a5a0a166e29bdfeaf $
    See Also:
    Serialized Form
    • Constructor Detail

      • MentionException

        public MentionException​(String message)
        Construct a new MentionsException with the specified detail message.
        Parameters:
        message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage()
      • MentionException

        public MentionException​(String message,
                                Throwable cause)
        Constructs a new MentionsException with the specified detail message and cause.
        Parameters:
        message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage()
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)