org.hisp.dhis.response.Dhis2ClientException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dhis2-java-client Show documentation
Show all versions of dhis2-java-client Show documentation
DHIS 2 API client for Java.
package org.hisp.dhis.response;
import lombok.Getter;
/**
* Exception caused by client side errors.
*
* @author Lars Helge Overland
*/
@Getter
public class Dhis2ClientException
extends RuntimeException
{
private int statusCode;
public Dhis2ClientException( String message, int statusCode )
{
super( message );
this.statusCode = statusCode;
}
public Dhis2ClientException( String message, Throwable cause )
{
super( message, cause );
}
public Dhis2ClientException( String message, Throwable cause, int statusCode )
{
super( message, cause );
this.statusCode = statusCode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy