org.jboss.jbossts.star.client.GenericSRAException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of restat-api Show documentation
Show all versions of restat-api Show documentation
A JAX-RS service that implements the RESTAT specification
package org.jboss.jbossts.star.client;
import jakarta.ws.rs.WebApplicationException;
import java.net.URL;
public class GenericSRAException extends WebApplicationException {
private URL sraId;
private int statusCode;
public int getStatusCode() {
return statusCode;
}
public URL getLraId() {
return sraId;
}
public GenericSRAException(URL sraId, int statusCode, String message, Throwable cause) {
super(String.format("%s: %s", sraId, message), cause);
this.sraId = sraId;
this.statusCode = statusCode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy