All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.textrecruit.ustackserverapi.exceptions.UnexpectedResultException Maven / Gradle / Ivy

There is a newer version: 1.0.31
Show newest version
package com.textrecruit.ustackserverapi.exceptions;

import com.textrecruit.ustackserverapi.APIException;
import com.textrecruit.ustackserverapi.APIExceptionDocumentation;

/**
 * We thought we were going to get one thing and we didn't
 * 
 * @author jdanner
 *
 */
public class UnexpectedResultException extends APIException implements APIExceptionDocumentation {
	
	private static final long serialVersionUID = 1L;
	private String message;
	
	public UnexpectedResultException(String message)
	{
		super(message);
		this.message = message;
	}

	public String getMessage() {
		return message;
	}

	public String getReason() {
		return "An unexpected response was encountered.";
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy