com.jivesoftware.community
Class BanException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.jivesoftware.community.JiveException
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
|
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 |
BanException
public BanException()
BanException
public BanException(String message)
BanException
public BanException(Throwable cause)
BanException
public BanException(Ban ban)
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
Copyright © 1999-2007 Jive Software.