Name

SecurityException

Synopsis

This exception is thrown when a security-related error occurs while satisfying a connection or interaction request, such as failure to authenticate the against the EIS resource, or lack of access to perform an operation under the current credentials.

                  
public class SecurityException extends ResourceException {
// Public Constructors
   public SecurityException( String reason);  
   public SecurityException(String reason, String errorCode);  
}

Thrown By

javax.resource.spi.security.GenericCredential.getCredentialData()

Get Java Enterprise in a Nutshell, Second Edition 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.