jdk/src/share/classes/javax/security/sasl/AuthenticationException.java
changeset 18830 90956ead732f
parent 5506 202f599c92aa
equal deleted inserted replaced
18829:ec84f0c313b0 18830:90956ead732f
     1 /*
     1 /*
     2  * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    43  * @author Rosanna Lee
    43  * @author Rosanna Lee
    44  * @author Rob Weltman
    44  * @author Rob Weltman
    45  */
    45  */
    46 public class AuthenticationException extends SaslException {
    46 public class AuthenticationException extends SaslException {
    47     /**
    47     /**
    48      * Constructs a new instance of <tt>AuthenticationException</tt>.
    48      * Constructs a new instance of {@code AuthenticationException}.
    49      * The root exception and the detailed message are null.
    49      * The root exception and the detailed message are null.
    50      */
    50      */
    51     public AuthenticationException () {
    51     public AuthenticationException () {
    52         super();
    52         super();
    53     }
    53     }
    54 
    54 
    55     /**
    55     /**
    56      * Constructs a new instance of <tt>AuthenticationException</tt>
    56      * Constructs a new instance of {@code AuthenticationException}
    57      * with a detailed message.
    57      * with a detailed message.
    58      * The root exception is null.
    58      * The root exception is null.
    59      * @param detail A possibly null string containing details of the exception.
    59      * @param detail A possibly null string containing details of the exception.
    60      *
    60      *
    61      * @see java.lang.Throwable#getMessage
    61      * @see java.lang.Throwable#getMessage
    63     public AuthenticationException (String detail) {
    63     public AuthenticationException (String detail) {
    64         super(detail);
    64         super(detail);
    65     }
    65     }
    66 
    66 
    67     /**
    67     /**
    68      * Constructs a new instance of <tt>AuthenticationException</tt> with a detailed message
    68      * Constructs a new instance of {@code AuthenticationException} with a detailed message
    69      * and a root exception.
    69      * and a root exception.
    70      *
    70      *
    71      * @param detail A possibly null string containing details of the exception.
    71      * @param detail A possibly null string containing details of the exception.
    72      * @param ex A possibly null root exception that caused this exception.
    72      * @param ex A possibly null root exception that caused this exception.
    73      *
    73      *