Cisco Cisco Configuration Engine 3.5 Entwickleranleitung

Seite von 344
7-46
Cisco Configuration Engine Software Development Kit API Reference and Programmer Guide 3.5
OL-17661-02
Chapter 7      Device Administration Interface API
Java Version of Device Interface API
private int _statusCode;
private String _description;
private bool _transient();
};
/* This exception occurs when the client application tries to create an object that 
already exists*/
class ObjectAlreadyExistsException
{
ObjectAlreadyExistsException (int statusCode, String description, String[] ids);
public String getDescription();
public int getStatusCode();
public String[] getIdsWithError(); //Get device ids that caused the error
private int _statusCode;
private String _description;
private String[] _ids;
};
/* This exception occurs when the client application tries to delete an object that does 
not exist*/
class ObjectNotFoundException
{
ObjectNotFoundException (int statusCode, String description, String[] ids);
public String getDescription();
public int getStatusCode();
public String[] getIdsWithError(); //Get device ids that caused the error
private int _statusCode;
private String _description;
private String[] _ids;
};
class OperationTimedOutException
{
OperationTimedOutException (int statusCode, String description, String[] ids);
public String getDescription();
public int getStatusCode();
public String[] getIdsWithError(); //Get device ids that caused the error
private int _statusCode;
private String _description;
private String[] _ids;
};