com.sun.jini.discovery
Class DiscoveryProtocolException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended bycom.sun.jini.discovery.DiscoveryProtocolException
All Implemented Interfaces:
Serializable

public class DiscoveryProtocolException
extends IOException

Exception indicating a discovery protocol error, such as failure to interpret packet data, or multicast request/announcement data that cannot fit within a given packet length.

Since:
2.0
Author:
Sun Microsystems, Inc.
See Also:
Serialized Form

Constructor Summary
DiscoveryProtocolException(String message)
          Constructs a new DiscoveryProtocolException with the specified detail message.
DiscoveryProtocolException(String message, Throwable cause)
          Constructs a new DiscoveryProtocolException 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

DiscoveryProtocolException

public DiscoveryProtocolException(String message)
Constructs a new DiscoveryProtocolException with the specified detail message.


DiscoveryProtocolException

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



Copyright 2007, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.