![JAR search and dependency download from the Maven repository](/logo.png)
com.jimmoores.quandl.util.QuandlTooManyRequestsException Maven / Gradle / Ivy
package com.jimmoores.quandl.util;
/**
* A runtime exception from the Quandl client indicating an HTTP 429 response code (Too many requests).
* This generally indicates that you've made more than your allowance of requests in that day. A common
* solution is to use a proper API auth token (available via your account login on Quandl) to pass in when
* creating the QuandlSession.
*/
public class QuandlTooManyRequestsException extends QuandlRuntimeException {
private static final long serialVersionUID = 1L;
/**
* Constructor when another exception is being included.
* @param message a message describing the exception, not null
* @param cause the cause of the expection if there is one, not null
*/
public QuandlTooManyRequestsException(final String message, final Throwable cause) {
super(message, cause);
}
/**
* Constructor when exception is not caused by an underlying exception.
* @param message a message describing the exception, not null
*/
public QuandlTooManyRequestsException(final String message) {
super(message);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy