com.ning.api.client.exception.NingTransferException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ning-api-java Show documentation
Show all versions of ning-api-java Show documentation
Java client library for accessing Ning external API
package com.ning.api.client.exception;
import java.io.IOException;
import com.ning.api.client.NingClientException;
/**
* Exception used when exception was thrown due to a caught {@link IOException},
* and the underlying cause is a data transfer problem. Such problems are usually
* transient and often require different handling from other types such
* as transformation exception.
*/
public class NingTransferException extends NingClientException
{
private static final long serialVersionUID = 1L;
public NingTransferException(IOException e) {
super(e);
}
public NingTransferException(String msg, IOException e) {
super(msg, e);
}
/**
* Most likely transient, so returns always true
*/
@Override
public boolean isRetryable() {
return true;
}
}