View Javadoc

1   /*
2    * OrderOutOfDateException.java Created @ Aug 3, 2004
3    * 
4    * Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
5    * Delft, the Netherlands. All rights reserved.
6    * 
7    * See for project information <a href="http://www.simulation.tudelft.nl/">
8    * www.simulation.tudelft.nl </a>.
9    * 
10   * The source code and binary code of this software is proprietary information
11   * of Delft University of Technology.
12   */
13  
14  package org.gscg.common.gui.exceptions;
15  
16  import nl.tudelft.simulation.logger.Logger;
17  
18  /***
19   * The OrderOutOfDateException is thrown when a scheduled delivery of a product
20   * falls outside the simulation run length.
21   * <p>
22   * Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
23   * Delft, the Netherlands. All rights reserved.
24   * 
25   * See for project information <a href="http://www.simulation.tudelft.nl/">
26   * www.simulation.tudelft.nl </a>.
27   * 
28   * The source code and binary code of this software is proprietary information
29   * of Delft University of Technology.
30   * 
31   * @author <a
32   *         href="http://www.tbm.tudelft.nl/webstaf/stijnh/index.htm">Stijn-Pieter
33   *         van Houten </a>
34   * @version $Revision: 1.1 $ $Date: 2005/06/16 12:33:55 $
35   * @since 1.0.0
36   */
37  public class OrderOutOfDateException
38  {
39  
40  	/***
41  	 * constructs a new OrderOutOfDateException
42  	 * 
43  	 * @param caller the caller
44  	 * @param methodName the name of the method
45  	 * @param productName the name of the product
46  	 */
47  	public OrderOutOfDateException(final Object caller,
48  			final String methodName, final String productName)
49  	{
50  		super();
51  		Logger
52  				.fine(
53  						caller,
54  						methodName,
55  						"Received order delivery date for product: "
56  								+ productName
57  								+ " is beyond the runlength of our interactive simulation.");
58  	}
59  }