1 31 package org.pdfbox.exceptions; 32 33 40 public class CryptographyException extends Exception  41 { 42 private Exception embedded; 43 44 49 public CryptographyException( String msg ) 50 { 51 super( msg ); 52 } 53 54 59 public CryptographyException( Exception e ) 60 { 61 super( e.getMessage() ); 62 setEmbedded( e ); 63 } 64 69 public Exception getEmbedded() 70 { 71 return embedded; 72 } 73 78 private void setEmbedded( Exception e ) 79 { 80 embedded = e; 81 } 82 } | Popular Tags |