com.sun.sgs.app
Class DeliveryNotSupportedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sun.sgs.app.DeliveryNotSupportedException
All Implemented Interfaces:
Serializable

public class DeliveryNotSupportedException
extends RuntimeException

An exception that indicates a delivery guarantee is not supported.

See Also:
Serialized Form

Constructor Summary
DeliveryNotSupportedException(String message, Delivery delivery)
          Constructs and instance with the specified detail message and unsupported delivery guarantee.
 
Method Summary
 Delivery getDelivery()
          Returns the delivery guarantee that is not supported (specified during construction).
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeliveryNotSupportedException

public DeliveryNotSupportedException(String message,
                                     Delivery delivery)
Constructs and instance with the specified detail message and unsupported delivery guarantee.

Parameters:
message - a detail message, or null
delivery - an unsupported delivery guarantee
Method Detail

getDelivery

public Delivery getDelivery()
Returns the delivery guarantee that is not supported (specified during construction).

Returns:
a delivery guarantee

Project Darkstar, Version 0.9.9.6
2009-05-08 15:39:40

Copyright © 2007-2009 Sun Microsystems, Inc. All rights reserved