Project JXTA

net.jxta.exception
Class JxtaException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--net.jxta.exception.JxtaException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DiscardQueryException, HandshakeInProgressException, NoResponseException, PeerGroupException, ProtocolNotSupportedException, ResendQueryException, ServiceNotFoundException, UnknownServiceException, ViolationException

public class JxtaException
extends java.lang.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(java.lang.String message)
          Constructs an Exception with the specified detail message.
JxtaException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new exception with the specified detail message and cause.
 
Method Summary
 void printStackTrace(java.io.PrintStream s)
          Prints this Throwable and its backtrace to the specified print stream.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, 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(java.lang.String message)
Constructs an Exception with the specified detail message.
Parameters:
message - the detail message.

JxtaException

public JxtaException(java.lang.String message,
                     java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.
Parameters:
message - message the detail message
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.)
Method Detail

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Prints this Throwable and its backtrace to the specified print stream.
Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
s - PrintStream to use for output

Project JXTA