s243a

ArchiveFailureException.java (freenet.client)

Oct 22nd, 2014
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.85 KB | None | 0 0
  1. //s243a pearltree node: http://www.pearltrees.com/s243a/java/id12827405
  2. /* This code is part of Freenet. It is distributed under the GNU General
  3.  * Public License, version 2 (or at your option any later version). See
  4.  * http://www.gnu.org/ for further details of the GPL. */
  5. package freenet.client;
  6.  
  7. /**
  8.  * @author amphibian (Matthew Toseland)
  9.  * Thrown when an archive operation fails.
  10.  */
  11. public class ArchiveFailureException extends Exception {
  12.  
  13.     private static final long serialVersionUID = -5915105120222575469L;
  14.    
  15.     public static final String TOO_MANY_LEVELS = "Too many archive levels";
  16.     public static final String ARCHIVE_LOOP_DETECTED = "Archive loop detected";
  17.  
  18.     public ArchiveFailureException(String message) {
  19.         super(message);
  20.     }
  21.  
  22.     public ArchiveFailureException(String message, Exception e) {
  23.         super(message);
  24.         initCause(e);
  25.     }
  26.  
  27. }
Add Comment
Please, Sign In to add comment