FileDocCategorySizeDatePackage
JMSSecurityException.javaAPI DocGlassfish v2 API2993Fri May 04 22:36:16 BST 2007javax.jms

JMSSecurityException

public class JMSSecurityException extends JMSException

This exception must be thrown when a provider rejects a user name/password submitted by a client. It may also be thrown for any case where a security restriction prevents a method from completing.

version
26 August 1998
author
Rahul Sharma

Fields Summary
Constructors Summary
public JMSSecurityException(String reason, String errorCode)
Constructs a JMSSecurityException with the specified reason and error code.

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

    super(reason, errorCode);
  
public JMSSecurityException(String reason)
Constructs a JMSSecurityException with the specified reason. The error code defaults to null.

param
reason a description of the exception

    super(reason);
  
Methods Summary