Graph database Analysis of the Steam Network
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

38 lines
693 B

package net.jrtechs.www.SteamAPI;
/**
* Exception to represent the types of HTTP exceptions
* that the steam api throws.
*
* @author Jeffery Russell 11-19-18
*/
public class SteamConnectionException extends Exception
{
/**
* Type of error which the Steam API threw
*/
private ConnectionErrors error;
/**
* Creates a new error with a connection type
*
* @param error
*/
public SteamConnectionException(ConnectionErrors error)
{
this.error = error;
}
/**
* returns the type of error the scrapper encountered
*
* @return
*/
public ConnectionErrors getError()
{
return error;
}
}