public class InvalidSelectorException extends JMSException
This exception must be thrown when a JMS client attempts to give a provider a message selector with invalid syntax.
Constructor and Description |
---|
InvalidSelectorException(String reason)
Constructs an
InvalidSelectorException with the specified
reason. |
InvalidSelectorException(String reason,
String errorCode)
Constructs an
InvalidSelectorException with the specified
reason and error code. |
getErrorCode, getLinkedException, setLinkedException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidSelectorException(String reason, String errorCode)
InvalidSelectorException
with the specified
reason and error code.reason
- a description of the exceptionerrorCode
- a string specifying the vendor-specific
error codepublic InvalidSelectorException(String reason)
InvalidSelectorException
with the specified
reason. The error code defaults to null.reason
- a description of the exceptionCopyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.