Jive Forums API (5.5.20.2-oracle) Core Javadocs

com.jivesoftware.forum
Class PrivateMessageRejectedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.jivesoftware.base.JiveException
              extended by com.jivesoftware.forum.PrivateMessageRejectedException
All Implemented Interfaces:
java.io.Serializable

public class PrivateMessageRejectedException
extends com.jivesoftware.base.JiveException

Thrown when a private is prevented from being posted. The type of the rejection is available via the getRejectionType() method. Valid values are:

Since:
4.0
See Also:
Serialized Form

Field Summary
static int NOT_ALLOWED
           
static int RECIPIENT_MAILBOX_FULL
           
static int SENDER_MAILBOX_FULL
           
 
Constructor Summary
PrivateMessageRejectedException(int rejectionType)
          Creates a new PrivateMessageRejectedException.
 
Method Summary
 int getRejectionType()
          Returns the type of the rejection 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
 

Field Detail

RECIPIENT_MAILBOX_FULL

public static int RECIPIENT_MAILBOX_FULL

SENDER_MAILBOX_FULL

public static int SENDER_MAILBOX_FULL

NOT_ALLOWED

public static int NOT_ALLOWED
Constructor Detail

PrivateMessageRejectedException

public PrivateMessageRejectedException(int rejectionType)
Creates a new PrivateMessageRejectedException.

Parameters:
rejectionType - the type of the rejection.
Method Detail

getRejectionType

public int getRejectionType()
Returns the type of the rejection exception.

Returns:
the rejection type.

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.