Jive Forums API (5.5.20.2-oracle) Web Services Client Javadocs

com.jivesoftware.forum
Class MessageRejectedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.jivesoftware.base.JiveException
              extended by 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

Constructor Summary
MessageRejectedException(java.lang.String message)
           
MessageRejectedException(java.lang.String rejectionMessage, com.jivesoftware.forum.ForumMessage forumMessage)
           
MessageRejectedException(java.lang.Throwable nestedThrowable, com.jivesoftware.forum.ForumMessage forumMessage)
           
 
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
 

Constructor Detail

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)
Method Detail

getForumMessage

public com.jivesoftware.forum.ForumMessage getForumMessage()
Returns the message that triggered the exception.

Returns:
the ForumMessage associated with the exception.

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.