}
});
} catch (PrivilegedActionException e) {
Throwable t = e.getCause();
if (t instanceof SecurityVaultException) {
throw new VaultReaderException(t);
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
throw new RuntimeException(t);
}
try {
vault.init(vaultOptions);
} catch (SecurityVaultException e) {
throw new VaultReaderException(e);
}
this.vault = vault;
}