Message Queue, v4.4 API Specification

com.sun.messaging
Class InvalidPropertyValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.jms.JMSException
              extended by com.sun.messaging.InvalidPropertyValueException
All Implemented Interfaces:
java.io.Serializable

public class InvalidPropertyValueException
extends JMSException

An InvalidPropertyValueException is thrown when setProperty is called with an invalid property value parameter.

See Also:
javax.jms.ConnectionFactory, com.sun.messaging.AdministeredObject.setProperty(propname, propval), Serialized Form

Constructor Summary
InvalidPropertyValueException(java.lang.String name, java.lang.String value)
          Constructs an InvalidPropertyValueException.
 
Method Summary
 
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

InvalidPropertyValueException

public InvalidPropertyValueException(java.lang.String name,
                                     java.lang.String value)
Constructs an InvalidPropertyValueException.

The exception message is formatted as

name=value

Parameters:
name - The property name.
value - The invalid property value.

Message Queue, v4.4 API Specification

Copyright 2009 Sun Microsystems, Inc.
4150 Network Circle, Santa Clara, CA 95054, U.S.A. All Rights Reserved.