* ============LICENSE_END=========================================================
*/
-package org.onap.oom.truststoremerger.certification.file;
+package org.onap.oom.truststoremerger.certification.file.exception;
-import java.io.File;
-import java.security.cert.Certificate;
-import java.util.Collections;
-import java.util.List;
+import org.onap.oom.truststoremerger.api.ExitStatus;
+import org.onap.oom.truststoremerger.api.ExitableException;
-public class PemTruststore extends TruststoreFile {
+public class LoadTruststoreException extends ExitableException {
- public PemTruststore(File truststoreFile) {
- super(truststoreFile);
- }
-
- @Override
- public List<Certificate> getCertificates() {
- return Collections.emptyList();
+ public LoadTruststoreException(Throwable e) {
+ super(e, ExitStatus.TRUSTSTORE_LOAD_FILE_EXCEPTION);
}
}