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

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

There is a newer version: 2.1.115
Show newest version
package com.untzuntz.ustackserverapi.exceptions;

import com.untzuntz.ustackserverapi.APIException;
import com.untzuntz.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