/* * Copyright (c) 2012-2014 Arne Schwabe * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt */ package org.spongycastle.util.io.pem; import java.io.IOException; @SuppressWarnings("serial") public class PemGenerationException extends IOException { private Throwable cause; public PemGenerationException(String message, Throwable cause) { super(message); this.cause = cause; } public PemGenerationException(String message) { super(message); } public Throwable getCause() { return cause; } }