All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.jbossts.star.client.GenericSRAException Maven / Gradle / Ivy

There is a newer version: 7.1.0.Final
Show newest version
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