jbora
Class JBoraException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjbora.JBoraException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AlreadyJoinedException, EventException, MessageTooBigException, NotJoinedException, PanicException

public class JBoraException
extends Exception

Generic JBora exception. All other exceptions from the JBora package are subclasses of this class.

Author:
Milan Prica
See Also:
Serialized Form

Constructor Summary
JBoraException()
          Creates a new exception.
JBoraException(String message)
          Creates a new exception and initializes it with a message.
JBoraException(String message, Throwable cause)
          Creates a new exception and initializes it with a cause and a message.
JBoraException(Throwable cause)
          Creates a new exception and initializes it with a cause.
 
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

JBoraException

public JBoraException()
Creates a new exception.


JBoraException

public JBoraException(String message)
Creates a new exception and initializes it with a message.

Parameters:
message - Exception message

JBoraException

public JBoraException(Throwable cause)
Creates a new exception and initializes it with a cause.

Parameters:
cause - Exception cause

JBoraException

public JBoraException(String message,
                      Throwable cause)
Creates a new exception and initializes it with a cause and a message.

Parameters:
message - Exception message
cause - Exception cause