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

com.launchkey.sdk.service.error.InvalidResponseException Maven / Gradle / Ivy

Go to download

SDK for interacting with the LaunchKey distributed authentication and authorization platform

There is a newer version: 4.0.0
Show newest version
/**
 * Copyright 2015 LaunchKey, Inc.  All rights reserved.
 * 

* Licensed under the MIT License. * You may not use this file except in compliance with the License. * A copy of the License is located in the "LICENSE.txt" file accompanying * this file. This file is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.launchkey.sdk.service.error; /** * Exception thrown when the response returned by the LaunchKey Engine API is not parsable or does not contain the * expected response data elements for the request that was made. */ public class InvalidResponseException extends ApiException { /** * @param message the detail message (which is saved for later retrieval * by the {@link #getMessage()} method). * @param code HTTP status code or 0 if no HTTP status code was returned */ public InvalidResponseException(String message, int code) { super(message, code); } /** * @param message the detail message (which is saved for later retrieval * by the {@link #getMessage()} method). * @param cause the cause (which is saved for later retrieval by the * {@link #getCause()} method). (A null value is * permitted, and indicates that the cause is nonexistent or * unknown.) */ public InvalidResponseException(String message, Throwable cause) { super(message, cause, 0); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy