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

org.jlot.client.remote.rest.RestException Maven / Gradle / Ivy

There is a newer version: 1.2
Show newest version
package org.jlot.client.remote.rest;

import org.jlot.api.RestError;

public class RestException extends Exception
{
	private static final long	serialVersionUID	= 1L;
	private RestError			restError;

	public RestException ( RestError restError )
	{
		this.restError = restError;
	}

	public RestError getRestError ( )
	{
		return restError;
	}

	@Override
	public String getMessage ( )
	{
		return restError.getMessage();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy