lcsim/src/org/lcsim/event
diff -u -r1.19 -r1.20
--- EventHeader.java 2 Sep 2008 21:38:15 -0000 1.19
+++ EventHeader.java 27 Nov 2008 23:57:03 -0000 1.20
@@ -10,7 +10,7 @@
* The event header from which information about the rest of the event
* can be obtained.
* @author Tony Johnson
- * @version $Id: EventHeader.java,v 1.19 2008/09/02 21:38:15 tonyj Exp $
+ * @version $Id: EventHeader.java,v 1.20 2008/11/27 23:57:03 onoprien Exp $
*/
public interface EventHeader extends MCEvent
{
@@ -25,13 +25,14 @@
/**
* Get a collection of data from the event.
+ * This method will throw <tt>IllegalArgumentException</tt> if the requested data is not found.
* @param type The type of object requested.
* @return The collection of data.
*/
<T> List<List<T>> get(Class<T> type);
/**
* Obtain a collection of objects associated with this event, specified by type and name.
- * This method will throw an exception if the requested data is not found.
+ * This method will throw <tt>IllegalArgumentException</tt> if the requested data is not found.
* @param type The class of items stored in the requested collection
* @param name The name of the requested collection
* @return The resulting collection.