com.launchkey.sdk.service.error.CommunicationErrorException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of launchkey-sdk Show documentation
Show all versions of launchkey-sdk Show documentation
SDK for interacting with the LaunchKey distributed authentication and authorization platform
/**
* 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;
/**
* This exception is thrown when an error occurs communicating with the LaunchKey Engine API. In this error the
* code and message will be re-purposed to the following:
*
* code: HTTP status code or 0 if no HTTP status code was returned
* message: Message from the underlying transport (HTTP, TLS, TCP, IP, etc)
*/
public class CommunicationErrorException extends LaunchKeyException {
/**
* @see LaunchKeyException#LaunchKeyException(String, int)
*/
public CommunicationErrorException(String message, int code) {
super(message, code);
}
/**
* @see LaunchKeyException#LaunchKeyException(String, Throwable, int)
*/
public CommunicationErrorException(String message, Throwable cause, int code) {
super(message, cause, code);
}
}