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

de.bytefish.fcmjava.exceptions.FcmException Maven / Gradle / Ivy

There is a newer version: 2.5
Show newest version
// Copyright (c) Philipp Wagner. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

package de.bytefish.fcmjava.exceptions;

public abstract class FcmException extends RuntimeException {

    private final int httpStatusCode;
    private final String reasonPhrase;

    public FcmException(int httpStatusCode, String reasonPhrase) {
        this.httpStatusCode = httpStatusCode;
        this.reasonPhrase = reasonPhrase;
    }

    public int getHttpStatusCode() {
        return httpStatusCode;
    }

    public String getReasonPhrase() {
        return reasonPhrase;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy