correct "throws Exception" to "throws ESTException"
* @return A store of X509Certificates.
*/
public CACertsResponse getCACerts()
- throws Exception
+ throws ESTException
{
ESTResponse resp = null;
Exception finalThrowable = null;
@@ -201,14 +201,12 @@ else if (resp.getStatusCode() != 204) // 204 are No Content
{
if (finalThrowable instanceof ESTException)
{
- throw finalThrowable;
+ throw (ESTException)finalThrowable;
}
throw new ESTException("Get CACerts: " + url.toString(), finalThrowable, resp.getStatusCode(), null);
}
return caCertsResponse;
-
-
}
/**
