View Javadoc

1   package cz.cuni.amis.pogamut.sposh.exceptions;
2   
3   import cz.cuni.amis.pogamut.sposh.elements.ParseException;
4   import cz.cuni.amis.pogamut.sposh.elements.PoshElement;
5   
6   /**
7    * Thrown when name in the lap plan is not valid (example: it includes
8    * whitespaces). Names of {@link PoshElement data nodes} in the lap plan must be
9    * parsable (since we are putting them into a text file), so when user tries to
10   * pass incorrect name (e.g. starts with number, has whitespaces, braces...)
11   *
12   * XXX: How exactly are names defined? Certainly not java identifier (thx2 '-'),
13   * just regexp in the parser?
14   *
15   * @author Honza
16   */
17  public class InvalidNameException extends ParseException{
18  
19      public InvalidNameException(String message) {
20          super(message);
21      }
22  
23  }