Package org.xwiki.mentions
Class MentionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xwiki.mentions.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 Summary
Constructors Constructor Description MentionException(String message)
Construct a newMentionsException
with the specified detail message.MentionException(String message, Throwable cause)
Constructs a newMentionsException
with the specified detail message and cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MentionException
public MentionException(String message)
Construct a newMentionsException
with the specified detail message.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
-
MentionException
public MentionException(String message, Throwable cause)
Constructs a newMentionsException
with the specified detail message and cause.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
-