Project JXTA

net.jxta.exception
Class JxtaException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bynet.jxta.exception.JxtaException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConfiguratorException, DocumentSerializationException, MonitorException, PeerGroupException, ProtocolNotSupportedException, ServiceNotFoundException, UnknownServiceException, ViolationException

public class JxtaException
extends Exception

The class JxtaException and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.

See Also:
Serialized Form

Constructor Summary
JxtaException()
          Constructs an Exception with no specified detail message.
JxtaException(String message)
          Constructs an Exception with the specified detail message.
JxtaException(String message, Throwable cause)
          Constructs a new exception with the specified detail message and cause.
JxtaException(Throwable cause)
          Constructs a new exception with the specified detail message and 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

JxtaException

public JxtaException()
Constructs an Exception with no specified detail message.


JxtaException

public JxtaException(String message)
Constructs an Exception with the specified detail message.

Parameters:
message - the detail message.

JxtaException

public JxtaException(Throwable cause)
Constructs a new exception with the specified detail message and cause.

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

JxtaException

public JxtaException(String message,
                     Throwable cause)
Constructs a new exception with the specified detail message and cause.

Parameters:
message - message the detail message
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

JXTA J2SE