JBoss Remoting 3 3.2.0.CR6

org.jboss.remoting3
Class MessageCancelledException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.jboss.remoting3.RemotingException
                  extended by org.jboss.remoting3.MessageCancelledException
All Implemented Interfaces:
Serializable

public class MessageCancelledException
extends RemotingException

An exception indicating that the sending side cancelled the message before completing it; the receiving side should act accordingly.

Author:
David M. Lloyd
See Also:
Serialized Form

Constructor Summary
MessageCancelledException()
          Constructs a MessageCancelledException with no detail message.
MessageCancelledException(String msg)
          Constructs a MessageCancelledException with the specified detail message.
MessageCancelledException(String msg, Throwable cause)
          Constructs a MessageCancelledException with the specified detail message and cause.
MessageCancelledException(Throwable cause)
          Constructs a MessageCancelledException with the specified cause.
 
Method Summary
 
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

MessageCancelledException

public MessageCancelledException()
Constructs a MessageCancelledException with no detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.


MessageCancelledException

public MessageCancelledException(String msg)
Constructs a MessageCancelledException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.

Parameters:
msg - the detail message

MessageCancelledException

public MessageCancelledException(Throwable cause)
Constructs a MessageCancelledException with the specified cause. The detail message is set to:
(cause == null ? null : cause.toString())
(which typically contains the class and detail message of cause).

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)

MessageCancelledException

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

Parameters:
msg - the detail message
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)

JBoss Remoting 3 3.2.0.CR6

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.