com.textrecruit.ustackserverapi.exceptions.UnexpectedResultException Maven / Gradle / Ivy
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