/** * Sets the lock state of the application. If an application is locked then * launching a new instance is not possible. It does not affect the already * launched instances. * * @throws SecurityException * if the caller doesn't have "lock" ApplicationAdminPermission * for the application. * @throws IllegalStateException * if the application descriptor is unregistered */ public final void lock() { try { delegate.lock(); }catch( SecurityException se ) { isLaunchableSpecific(); /* check whether the bundle was uninstalled */ /* if yes, throws IllegalStateException */ throw se; /* otherwise throw the catched SecurityException */ } lockSpecific(); }
/** * Sets the lock state of the application. If an application is locked then * launching a new instance is not possible. It does not affect the already * launched instances. * * @throws SecurityException * if the caller doesn't have "lock" ApplicationAdminPermission * for the application. * @throws IllegalStateException * if the application descriptor is unregistered */ public final void lock() { try { delegate.lock(); }catch( SecurityException se ) { isLaunchableSpecific(); /* check whether the bundle was uninstalled */ /* if yes, throws IllegalStateException */ throw se; /* otherwise throw the catched SecurityException */ } lockSpecific(); }
/** * Sets the lock state of the application. If an application is locked then * launching a new instance is not possible. It does not affect the already * launched instances. * * @throws SecurityException if the caller doesn't have "lock" * ApplicationAdminPermission for the application. * @throws IllegalStateException if the application descriptor is * unregistered */ public final void lock() { try { delegate.lock(); } catch (SecurityException se) { isLaunchableSpecific(); /* check whether the bundle was uninstalled */ /* if yes, throws IllegalStateException */ throw se; /* otherwise throw the catched SecurityException */ } lockSpecific(); }
/** * Sets the lock state of the application. If an application is locked then * launching a new instance is not possible. It does not affect the already * launched instances. * * @throws SecurityException if the caller doesn't have "lock" * ApplicationAdminPermission for the application. * @throws IllegalStateException if the application descriptor is * unregistered */ public final void lock() { try { delegate.lock(); } catch (SecurityException se) { isLaunchableSpecific(); /* check whether the bundle was uninstalled */ /* if yes, throws IllegalStateException */ throw se; /* otherwise throw the catched SecurityException */ } lockSpecific(); }
/** * Sets the lock state of the application. If an application is locked then * launching a new instance is not possible. It does not affect the already * launched instances. * * @throws SecurityException if the caller doesn't have "lock" * ApplicationAdminPermission for the application. * @throws IllegalStateException if the application descriptor is * unregistered */ public final void lock() { try { delegate.lock(); } catch (SecurityException se) { isLaunchableSpecific(); /* check whether the bundle was uninstalled */ /* if yes, throws IllegalStateException */ throw se; /* otherwise throw the catched SecurityException */ } lockSpecific(); }
/** * Sets the lock state of the application. If an application is locked then * launching a new instance is not possible. It does not affect the already * launched instances. * * @throws SecurityException * if the caller doesn't have "lock" ApplicationAdminPermission * for the application. * @throws IllegalStateException * if the application descriptor is unregistered */ public final void lock() { try { delegate.lock(); }catch( SecurityException se ) { isLaunchableSpecific(); /* check whether the bundle was uninstalled */ /* if yes, throws IllegalStateException */ throw se; /* otherwise throw the catched SecurityException */ } lockSpecific(); }
/** * Sets the lock state of the application. If an application is locked then * launching a new instance is not possible. It does not affect the already * launched instances. * * @throws SecurityException if the caller doesn't have "lock" * ApplicationAdminPermission for the application. * @throws IllegalStateException if the application descriptor is * unregistered */ public final void lock() { try { delegate.lock(); } catch (SecurityException se) { isLaunchableSpecific(); /* check whether the bundle was uninstalled */ /* if yes, throws IllegalStateException */ throw se; /* otherwise throw the catched SecurityException */ } lockSpecific(); }