Jive API (3.0.13) Core Javadocs

com.jivesoftware.community
Class BanException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.jivesoftware.community.JiveException
              extended by com.jivesoftware.community.BanException
All Implemented Interfaces:
Serializable

public class BanException
extends JiveException

Thrown when a user performs an action that they have been banned from performing. Contains a reference to the ban object.

See Also:
Serialized Form

Constructor Summary
BanException()
           
BanException(Ban ban)
           
BanException(String message)
           
BanException(Throwable cause)
           
 
Method Summary
 Ban getBan()
          Gets the ban object that caused this BanException to be thrown.
 
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

BanException

public BanException()

BanException

public BanException(String message)

BanException

public BanException(Throwable cause)

BanException

public BanException(Ban ban)
Method Detail

getBan

public Ban getBan()
Gets the ban object that caused this BanException to be thrown.

Returns:
the Ban that caused this BanExcpetion to be thrown

Jive Product Page

Copyright © 1999-2007 Jive Software.