001    package edu.harvard.deas.hyperenc;
002    
003    /**
004     * Thrown when a recoverable error occurs during a hyper-encryption operation.
005     * Examples include when there are not sufficient pages available to make new
006     * encryption blocks, or when there are not sufficient blocks available to
007     * encrypt a message.
008     */
009    public class EncryptionException extends Exception {
010      private static final long serialVersionUID = 1L;
011      
012      public EncryptionException(String message) {
013        super(message);
014      }
015      
016      public EncryptionException(String message, Throwable cause) {
017        super(message, cause);
018      }
019    }