![JAR search and dependency download from the Maven repository](/logo.png)
org.ctoolkit.restapi.client.RequestTimeoutException Maven / Gradle / Ivy
/*
* Copyright (c) 2016 Comvai, s.r.o. All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package org.ctoolkit.restapi.client;
/**
* The exception thrown once the client did not produce a request within the time that the server was prepared to wait.
* The client MAY repeat the request without modifications at any later time.
*
* @author Aurel Medvegy
*/
public class RequestTimeoutException
extends HttpFailureException
{
public RequestTimeoutException()
{
super( 408 );
}
public RequestTimeoutException( String message )
{
super( 408, message );
}
public RequestTimeoutException( int statusCode, Throwable cause )
{
super( statusCode, cause );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy