com.sun.sgs.app
Class MessageRejectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sun.sgs.app.ResourceUnavailableException
com.sun.sgs.app.MessageRejectedException
- All Implemented Interfaces:
- ExceptionRetryStatus, Serializable
public class MessageRejectedException
- extends ResourceUnavailableException
Thrown when an operation fails because there are not enough
resources to send or receive a message.
- See Also:
ClientSession.send(java.nio.ByteBuffer)
,
Channel.send(com.sun.sgs.app.ClientSession, java.nio.ByteBuffer)
,
ClientSessionListener.receivedMessage(java.nio.ByteBuffer)
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
MessageRejectedException
public MessageRejectedException(String message)
- Creates an instance of this class with the specified detail message.
- Parameters:
message
- the detail message or null
MessageRejectedException
public MessageRejectedException(String message,
Throwable cause)
- Creates an instance of this class with the specified detail message and
cause.
- Parameters:
message
- the detail message or null
cause
- the cause or null
Copyright © 2007-2009 Sun Microsystems, Inc. All rights reserved