Package org.ejbca.core.model.ca.catoken

Examples of org.ejbca.core.model.ca.catoken.CATokenOfflineException.initCause()


            } else {
                throw new Error("Should never happen.");
            }
        } catch (IOException e) {
            final CATokenOfflineException e2 = new CATokenOfflineException("Not possible to create provider. See cause.");
            e2.initCause(e);
            throw e2;
        } finally {
            this.isSettingProvider = false;
            this.notifyAll();
        }
View Full Code Here


            log.error("Key is of unknown type: ", ke);
            throw ke;
        } catch (CATokenOfflineException ctoe) {
          String msg = intres.getLocalizedMessage("error.catokenoffline", ca.getSubjectDN());
          CATokenOfflineException ex = new CATokenOfflineException(msg);
          ex.initCause(ctoe);
          throw ex;
        } catch (EjbcaException e) {
            throw e;
        } catch (NoSuchProviderException e) {
            log.error("NoSuchProvider provider: ", e);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.