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

org.twonote.rgwadmin4j.impl.RgwAdminException Maven / Gradle / Ivy

There is a newer version: 2.0.9
Show newest version
package org.twonote.rgwadmin4j.impl;

/**
 * Represents Radosgw admin errors
 *
 * 

Created by petertc on 3/24/17. */ @SuppressWarnings("SameParameterValue") public class RgwAdminException extends RuntimeException { private final int statusCode; public RgwAdminException(int statusCode) { this.statusCode = statusCode; } public RgwAdminException(int statusCode, String messageCode) { super(messageCode); this.statusCode = statusCode; } public RgwAdminException(int statusCode, String messageCode, Throwable cause) { super(messageCode, cause); this.statusCode = statusCode; } public int status() { return statusCode; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy