com.sun.sgs.app
Class DeliveryNotSupportedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
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 |
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
getDelivery
public Delivery getDelivery()
- Returns the delivery guarantee that is not supported (specified
during construction).
- Returns:
- a delivery guarantee
Copyright © 2007-2009 Sun Microsystems, Inc. All rights reserved