Added missing @throws

This commit is contained in:
Gideon le Grange 2015-05-05 13:41:41 +02:00
parent 2218bacead
commit 56d10d6937
1 changed files with 2 additions and 1 deletions

View File

@ -99,6 +99,7 @@ public abstract class ApiConnection implements AutoCloseable {
public abstract boolean isConnected();
/**
* @throws me.legrange.mikrotik.MikrotikApiException
* @deprecated Replaced by close() which conforms to AutoCloseable
*/
@Deprecated
@ -151,7 +152,7 @@ public abstract class ApiConnection implements AutoCloseable {
/**
* Disconnect from the remote API
* @throws me.legrange.mikrotik.MikrotikApiException Thrown if there is a problem disconnecting
* @throws me.legrange.mikrotik.ApiConnectionException Thrown if there is a problem closing the connection.
* @since 2.2
*/
@Override