com.contrastsecurity.exceptions.ApplicationCreateException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of contrast-sdk-java Show documentation
Show all versions of contrast-sdk-java Show documentation
SDK for accessing and using the Contrast TeamServer REST API in Java
package com.contrastsecurity.exceptions;
import lombok.AccessLevel;
import lombok.Getter;
@Getter
public class ApplicationCreateException extends Exception {
private final int rc;
private final String responseMessage;
public ApplicationCreateException(int rc, String responseMessage) {
super("Recieved Response code: "+rc+" with message: " + responseMessage);
this.rc = rc;
this.responseMessage = responseMessage;
}
@Getter(AccessLevel.NONE)
private static final long serialVersionUID = -9049287248312255189L;
}