org.refcodes.forwardsecrecy.ForwardSecrecyException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of refcodes-forwardsecrecy Show documentation
Show all versions of refcodes-forwardsecrecy Show documentation
Artifact for the refcodes forward secrecy framework design.
// /////////////////////////////////////////////////////////////////////////////
// REFCODES.ORG
// =============================================================================
// This code is copyright (c) by Siegfried Steiner, Munich, Germany and licensed
// under the following (see "http://en.wikipedia.org/wiki/Multi-licensing")
// licenses:
// =============================================================================
// GNU General Public License, v3.0 ("http://www.gnu.org/licenses/gpl-3.0.html")
// together with the GPL linking exception applied; as being applied by the GNU
// Classpath ("http://www.gnu.org/software/classpath/license.html")
// =============================================================================
// Apache License, v2.0 ("http://www.apache.org/licenses/TEXT-2.0")
// =============================================================================
// Please contact the copyright holding author(s) of the software artifacts in
// question for licensing issues not being covered by the above listed licenses,
// also regarding commercial licensing models or regarding the compatibility
// with other open source licenses.
// /////////////////////////////////////////////////////////////////////////////
package org.refcodes.forwardsecrecy;
import org.refcodes.mixin.UniversalIdAccessor;
import org.refcodes.security.SecurityException;
/**
* The Class ForwardSecrecyException.
*/
public abstract class ForwardSecrecyException extends SecurityException {
private static final long serialVersionUID = 1L;
/**
* Instantiates a new forward secrecy exception.
*
* @param aMessage the message
* @param aErrorCode the error code
*/
public ForwardSecrecyException( String aMessage, String aErrorCode ) {
super( aMessage, aErrorCode );
}
/**
* Instantiates a new forward secrecy exception.
*
* @param aMessage the message
* @param aCause the cause
* @param aErrorCode the error code
*/
public ForwardSecrecyException( String aMessage, Throwable aCause, String aErrorCode ) {
super( aMessage, aCause, aErrorCode );
}
/**
* Instantiates a new forward secrecy exception.
*
* @param message the message
* @param cause the cause
*/
public ForwardSecrecyException( String message, Throwable cause ) {
super( message, cause );
}
/**
* Instantiates a new forward secrecy exception.
*
* @param message the message
*/
public ForwardSecrecyException( String message ) {
super( message );
}
/**
* Instantiates a new forward secrecy exception.
*
* @param aCause the cause
* @param aErrorCode the error code
*/
public ForwardSecrecyException( Throwable aCause, String aErrorCode ) {
super( aCause, aErrorCode );
}
/**
* Instantiates a new forward secrecy exception.
*
* @param cause the cause
*/
public ForwardSecrecyException( Throwable cause ) {
super( cause );
}
/**
* The Class ForwardSecrecyUniversalIdException.
*/
static abstract class ForwardSecrecyUniversalIdException extends ForwardSecrecyException implements UniversalIdAccessor {
private static final long serialVersionUID = 1L;
private String _uId;
/**
* Instantiates a new forward secrecy Universal-TID exception.
*
* @param aUid the Universal-TID
* @param aMessage the message
* @param aErrorCode the error code
*/
public ForwardSecrecyUniversalIdException( String aUid, String aMessage, String aErrorCode ) {
super( aMessage, aErrorCode );
_uId = aUid;
}
/**
* Instantiates a new forward secrecy Universal-TID exception.
*
* @param aUid the Universal-TID
* @param aMessage the message
* @param aCause the cause
* @param aErrorCode the error code
*/
public ForwardSecrecyUniversalIdException( String aUid, String aMessage, Throwable aCause, String aErrorCode ) {
super( aMessage, aCause, aErrorCode );
_uId = aUid;
}
/**
* Instantiates a new forward secrecy Universal-TID exception.
*
* @param aUid the Universal-TID
* @param message the message
* @param cause the cause
*/
public ForwardSecrecyUniversalIdException( String aUid, String message, Throwable cause ) {
super( message, cause );
_uId = aUid;
}
/**
* Instantiates a new forward secrecy Universal-TID exception.
*
* @param aUid the Universal-TID
* @param message the message
*/
public ForwardSecrecyUniversalIdException( String aUid, String message ) {
super( message );
_uId = aUid;
}
/**
* Instantiates a new forward secrecy Universal-TID exception.
*
* @param aUid the Universal-TID
* @param aCause the cause
* @param aErrorCode the error code
*/
public ForwardSecrecyUniversalIdException( String aUid, Throwable aCause, String aErrorCode ) {
super( aCause, aErrorCode );
_uId = aUid;
}
/**
* Instantiates a new forward secrecy Universal-TID exception.
*
* @param aUid the Universal-TID
* @param cause the cause
*/
public ForwardSecrecyUniversalIdException( String aUid, Throwable cause ) {
super( cause );
_uId = aUid;
}
/**
* Gets the Universal-TID.
*
* @return the Universal-TID
*/
@Override
public String getUniversalId() {
return _uId;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy