javax.jms
Class MessageNotWriteableException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.jms.JMSException
              extended byjavax.jms.MessageNotWriteableException
All Implemented Interfaces:
Serializable

public class MessageNotWriteableException
extends JMSException

This exception must be thrown when a JMS client attempts to write to a read-only message

Version:
$Revision: 1.1 $
Author:
Chris Kimpton (chris@kimptoc.net)
See Also:
Serialized Form

Constructor Summary
MessageNotWriteableException(String reason)
          Construct a MessageNotWriteableException with reason and with error code defaulting to null
MessageNotWriteableException(String reason, String errorCode)
          Construct a MessageNotWriteableException with reason and error code for exception
 
Methods inherited from class javax.jms.JMSException
getErrorCode, getLinkedException, setLinkedException
 
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

MessageNotWriteableException

public MessageNotWriteableException(String reason,
                                    String errorCode)
Construct a MessageNotWriteableException with reason and error code for exception


MessageNotWriteableException

public MessageNotWriteableException(String reason)
Construct a MessageNotWriteableException with reason and with error code defaulting to null



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.