Package org.simoes.lpd.exception

Examples of org.simoes.lpd.exception.ObjectNotFoundException


          break;
        }
      }
      // if the queued object was not found, then throw an ObjectNotFoundException
      if (found == false) {
        throw new ObjectNotFoundException(
          "the object associated with id[" + id + "] was not found.");
      }
    }
    // return
    return rval;
View Full Code Here


    // get the next printjob
    synchronized (queue) {
      if(queue.size() > 0) {
        rval = (QueuedObject)queue.get(queue.size()-1);
      } else {
        throw new ObjectNotFoundException(METHOD + "The queue was empty.");
      }
    }
    // return
    return rval;
  }
View Full Code Here

TOP

Related Classes of org.simoes.lpd.exception.ObjectNotFoundException

Copyright © 2018 www.massapicom. 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.