/** * @param key * @param cause */ public DSSEncodingException(MSG key, Throwable cause) { super(cause); init(key); }
throw new DSSEncodingException(MSG.CERTIFICATE_CANNOT_BE_READ, e); } catch (KeyStoreException e) { throw new DSSEncodingException(MSG.CERTIFICATE_CANNOT_BE_READ, e); } catch (NoSuchAlgorithmException e) { throw new DSSEncodingException(MSG.CERTIFICATE_CANNOT_BE_READ, e); } catch (FileNotFoundException e) { throw new DSSEncodingException(MSG.CERTIFICATE_CANNOT_BE_READ, e); } catch (IOException e) { throw new DSSEncodingException(MSG.CERTIFICATE_CANNOT_BE_READ, e);
/** * The default constructor for DSSEncodingException. * * @param key */ public DSSEncodingException(MSG key) { init(key); }