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

org.hisp.dhis.response.Dhis2ClientException Maven / Gradle / Ivy

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