21.3. Constructors

The following constructors are defined by the class javax.jms.InvalidSelectorException.

InvalidSelectorException(String)

public InvalidSelectorException(java.lang.String reason)

Constructs an InvalidSelectorException with the specified reason. The error code defaults to null.

PARAMETERS:

reasona description of the exception

InvalidSelectorException(String, String)

public InvalidSelectorException(java.lang.String reason,
                                          java.lang.String errorCode)

Constructs an InvalidSelectorException with the specified reason and error code.

PARAMETERS:

reason a description of the exception
errorCode a string specifying the vendor-specific error code

Get Java™ Message Service API Tutorial and Reference: Messaging for the J2EE™ Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.