/** * What is the name of the current activity? Use only for * debugging purposes! * * @exception NoActivityException Thrown if there is no activity * associated with the invoking thread. * @exception SystemException Thrown if any other error occurs. * * @return the name of the activity. */ public String activityName () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); // or return null? else return curr.activityName(); }
/** * What is the name of the current activity? Use only for * debugging purposes! * * @exception NoActivityException Thrown if there is no activity * associated with the invoking thread. * @exception SystemException Thrown if any other error occurs. * * @return the name of the activity. */ public String activityName () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); // or return null? else return curr.activityName(); }
/** * What is the name of the current activity? Use only for * debugging purposes! * * @exception NoActivityException Thrown if there is no activity * associated with the invoking thread. * @exception SystemException Thrown if any other error occurs. * * @return the name of the activity. */ public String activityName () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); // or return null? else return curr.activityName(); }
/** * What is the name of the current activity? Use only for * debugging purposes! * * @exception NoActivityException Thrown if there is no activity * associated with the invoking thread. * @exception SystemException Thrown if any other error occurs. * * @return the name of the activity. */ public String activityName () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); // or return null? else return curr.activityName(); }