* resource.
*
* @return True if the resource is collection, otherwise false.
- *
- * @throws SimulatorException
- * This exception will be thrown if the native resource object
- * does not exist or for some general errors.
*/
public boolean isCollection() {
return (this instanceof SimulatorCollectionResource);
* collection resource.
*
* @return Type of resource.
- *
- * @throws SimulatorException
- * This exception will be thrown if the native resource object
- * does not exist or for some general errors.
*/
public Type getType() {
if (this instanceof SimulatorSingleResource) {
* @throws InvalidArgsException
* This exception will be thrown if the interface type is
* invalid.
+ * @throws NoSupportException
+ * This exception will be thrown if the interface type is
+ * not supported by the resource.
* @throws SimulatorException
* This exception will be thrown if the native resource object
* does not exist or for some general errors.