org.jlot.client.remote.rest.RestException Maven / Gradle / Ivy
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();
}
}