com.xliic.cicd.audit.AuditException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cicd-core Show documentation
Show all versions of cicd-core Show documentation
Bundles multiple OpenAPI files (in JSON or YAML formats) using external references into one JSON file.
/*
Copyright (c) 42Crunch Ltd. All rights reserved.
Licensed under the GNU Affero General Public License version 3. See LICENSE.txt in the project root for license information.
*/
package com.xliic.cicd.audit;
public class AuditException extends Exception {
/**
*
*/
private static final long serialVersionUID = 6795526460296139587L;
private Throwable error;
public AuditException(String message) {
super(message);
}
public AuditException(String message, Throwable error) {
super(message);
this.error = error;
}
@Override
public String getMessage() {
String message = super.getMessage();
if (this.error != null) {
return message + ": " + this.error.getMessage();
}
return message;
}
public Throwable getError() {
return error;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy