Examples of ThrowThis


Examples of com.sun.jini.proxy.ThrowThis

        concurrentObj.readLock();
        try {
            RegistrationInfo regInfo
                   = (RegistrationInfo)(registrationByID.get(registrationID));
            if(regInfo == null) {
                throw new ThrowThis
                        (new NoSuchObjectException("Invalid registration "
                                                   +"ID on call to "
                                                   +"getLocators() method"));
            }//endif
            return (LookupLocator[])(regInfo.locators).toArray
View Full Code Here

Examples of com.sun.jini.proxy.ThrowThis

        concurrentObj.writeLock();
        try {
            RegistrationInfo regInfo
                   = (RegistrationInfo)(registrationByID.get(registrationID));
            if(regInfo == null) {
                throw new ThrowThis
                        (new NoSuchObjectException("Invalid registration "
                                                   +"ID on call to "
                                                   +"addGroups() method"));
            }//endif
            /* Check the input for validity */
 
View Full Code Here

Examples of com.sun.jini.proxy.ThrowThis

        concurrentObj.writeLock();
        try {
            RegistrationInfo regInfo
                   = (RegistrationInfo)(registrationByID.get(registrationID));
            if(regInfo == null) {
                throw new ThrowThis
                        (new NoSuchObjectException("Invalid registration "
                                                   +"ID on call to "
                                                   +"setGroups() method"));
            }//endif
            /* Check the input for validity */
 
View Full Code Here

Examples of com.sun.jini.proxy.ThrowThis

        concurrentObj.writeLock();
        try {
            RegistrationInfo regInfo
                   = (RegistrationInfo)(registrationByID.get(registrationID));
            if(regInfo == null) {
                throw new ThrowThis
                        (new NoSuchObjectException("Invalid registration "
                                                   +"ID on call to "
                                                   +"removeGroups() method"));
            }//endif
            /* Check the input for validity */
 
View Full Code Here

Examples of com.sun.jini.proxy.ThrowThis

        concurrentObj.writeLock();
        try {
            RegistrationInfo regInfo
                   = (RegistrationInfo)(registrationByID.get(registrationID));
            if(regInfo == null) {
                throw new ThrowThis
                        (new NoSuchObjectException("Invalid registration "
                                                   +"ID on call to "
                                                   +"addLocators() method"));
            }//endif
            /* Check the input for validity */
 
View Full Code Here

Examples of com.sun.jini.proxy.ThrowThis

        concurrentObj.writeLock();
        try {
            RegistrationInfo regInfo
                   = (RegistrationInfo)(registrationByID.get(registrationID));
            if(regInfo == null) {
                throw new ThrowThis
                        (new NoSuchObjectException("Invalid registration "
                                                   +"ID on call to "
                                                   +"setLocators() method"));
            }//endif
            /* Check the input for validity */
 
View Full Code Here

Examples of com.sun.jini.proxy.ThrowThis

        concurrentObj.writeLock();
        try {
            RegistrationInfo regInfo
                   = (RegistrationInfo)(registrationByID.get(registrationID));
            if(regInfo == null) {
                throw new ThrowThis
                       (new NoSuchObjectException("Invalid registration "
                                                  +"ID on call to "
                                                  +"removeLocators() method"));
            }//endif
            /* Check the input for validity */
 
View Full Code Here

Examples of com.sun.jini.proxy.ThrowThis

        try {
            logInfoDiscard("\ndiscard: ",registrationID);
            RegistrationInfo regInfo
                   = (RegistrationInfo)(registrationByID.get(registrationID));
            if(regInfo == null) {
                throw new ThrowThis
                            (new NoSuchObjectException("Invalid registration "
                                                       +"ID on call to "
                                                       +"discard() method"));
            }//endif
            if(registrar == null) {
View Full Code Here

Examples of com.sun.jini.proxy.ThrowThis

                if(deliveryLogger.isLoggable(Level.FINEST)) {
                    deliveryLogger.log(Level.FINEST,
            "prepared listener: {0}", preparedTarget);
    }
      } catch (RemoteException e) {
                throw new ThrowThis(e);
            }
  }
  concurrentObj.writeLock();
  try {
      enableDeliveryDo(uuid, preparedTarget);
View Full Code Here

Examples of com.sun.jini.proxy.ThrowThis

      operationsLogger.entering(mailboxSourceClass,
          "getServiceRegistration", regID);
  }
        ServiceRegistration reg = (ServiceRegistration)regByID.get(regID);
  if(reg == null) { // either expired or never existed
      throw new ThrowThis(
    new NoSuchObjectException("Not managing requested " +
              "registration object"));
  } else if(!ensureCurrent(reg)) { // check validity
      throw new ThrowThis(
    new NoSuchObjectException("Requested registration object" +
        "has expired"));
  }
  // Must be a valid registration at this point
        if (operationsLogger.isLoggable(Level.FINER)) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.