com.jivesoftware.forum
Class MessageRejectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.jivesoftware.base.JiveException
com.jivesoftware.forum.MessageRejectedException
- All Implemented Interfaces:
- java.io.Serializable
public class MessageRejectedException
- extends JiveException
Thrown by a MessageInterceptor when a message is prevented from being
posted. A reason for the rejection as well as the message object rejected are
available properties of the exception.
- See Also:
MessageInterceptor
,
Serialized Form
Method Summary |
com.jivesoftware.forum.ForumMessage |
getForumMessage()
Returns the message that triggered the exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MessageRejectedException
public MessageRejectedException(java.lang.String message)
MessageRejectedException
public MessageRejectedException(java.lang.String rejectionMessage,
com.jivesoftware.forum.ForumMessage forumMessage)
MessageRejectedException
public MessageRejectedException(java.lang.Throwable nestedThrowable,
com.jivesoftware.forum.ForumMessage forumMessage)
getForumMessage
public com.jivesoftware.forum.ForumMessage getForumMessage()
- Returns the message that triggered the exception.
- Returns:
- the ForumMessage associated with the exception.
Copyright © 1999-2006 Jive Software.