Name

CryptoException

Synopsis

This exception indicates a cryptographic exception; it is used throughout the jxta.security package.

public class CryptoException extends Exception {
// Public Constructors
   public CryptoException(short reason);  
// Public Constants
   public static final short ILLEGAL_USE;                       
// =1
   public static final short ILLEGAL_VALUE;                     
// =2
   public static final short INVALID_INIT;                      
// =3
   public static final short INVALID_RSA_DATALENGTH;            
// =9
   public static final short INVALID_RSA_INIT;                  
// =7
   public static final short INVALID_RSA_PADDING;               
// =8
   public static final short NO_SUCH_ALGORITHM;                 
// =4
   public static final short NOT_IMPLEMENTED;                   
// =6
   public static final short UNINITIALIZED_KEY;                 
// =5
                  // Public Class Methods
   public static void throwIt(short reason) throws CryptoException; 
// Public Methods Overriding Throwable
   public String toString();  
}

Thrown By

Too many methods to list.

Get JXTA in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.