< prev index next >

src/java.base/share/classes/java/security/NoSuchAlgorithmException.java

Print this page




  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package java.security;
  27 
  28 /**
  29  * This exception is thrown when a particular cryptographic algorithm is
  30  * requested but is not available in the environment.
  31  *
  32  * @author Benjamin Renaud

  33  */
  34 
  35 public class NoSuchAlgorithmException extends GeneralSecurityException {
  36 
  37     private static final long serialVersionUID = -7443947487218346562L;
  38 
  39     /**
  40      * Constructs a NoSuchAlgorithmException with no detail
  41      * message. A detail message is a String that describes this
  42      * particular exception.
  43      */
  44     public NoSuchAlgorithmException() {
  45         super();
  46     }
  47 
  48     /**
  49      * Constructs a NoSuchAlgorithmException with the specified
  50      * detail message. A detail message is a String that describes
  51      * this particular exception, which may, for example, specify which
  52      * algorithm is not available.




  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package java.security;
  27 
  28 /**
  29  * This exception is thrown when a particular cryptographic algorithm is
  30  * requested but is not available in the environment.
  31  *
  32  * @author Benjamin Renaud
  33  * @since 1.1
  34  */
  35 
  36 public class NoSuchAlgorithmException extends GeneralSecurityException {
  37 
  38     private static final long serialVersionUID = -7443947487218346562L;
  39 
  40     /**
  41      * Constructs a NoSuchAlgorithmException with no detail
  42      * message. A detail message is a String that describes this
  43      * particular exception.
  44      */
  45     public NoSuchAlgorithmException() {
  46         super();
  47     }
  48 
  49     /**
  50      * Constructs a NoSuchAlgorithmException with the specified
  51      * detail message. A detail message is a String that describes
  52      * this particular exception, which may, for example, specify which
  53      * algorithm is not available.


< prev index next >