Changeset 766 for trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/StringEventType.java
- Timestamp:
- 09/04/12 17:15:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/StringEventType.java
r655 r766 1 1 package de.ugoe.cs.quest.eventcore; 2 3 import java.security.InvalidParameterException;4 2 5 3 /** … … 34 32 * @param str 35 33 * string that identifies the event type 36 * @throws I nvalidParameterException34 * @throws IllegalArgumentException 37 35 * thrown if str is null 38 36 */ 39 public StringEventType(String str) throws I nvalidParameterException {37 public StringEventType(String str) throws IllegalArgumentException { 40 38 if (str == null) { 41 throw new I nvalidParameterException("str must not be null");39 throw new IllegalArgumentException("str must not be null"); 42 40 } 43 41 this.str = str;
Note: See TracChangeset
for help on using the changeset viewer.