
com.springcryptoutils.core.key.PrivateKeyException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-crypto-utils Show documentation
Show all versions of spring-crypto-utils Show documentation
A framework for easier configuration of cryptographic utilities using Spring.
The newest version!
/*
* Copyright 2012 Mirko Caserta
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this software except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.springcryptoutils.core.key;
/**
* A generic exception for wrapping checked exceptions occurring while
* operating on private keys.
*
* @author Mirko Caserta ([email protected])
*/
public class PrivateKeyException extends RuntimeException {
/**
* Creates a new exception instance.
*
* @param message the exception message
*/
public PrivateKeyException(String message) {
super(message);
}
/**
* Creates a new exception instance.
*
* @param message the exception message
* @param cause the root cause
*/
public PrivateKeyException(String message, Throwable cause) {
super(message, cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy