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 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.