cz.cuni.amis.pogamut.sposh.exceptions
Class InvalidNameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.cuni.amis.pogamut.sposh.elements.ParseException
cz.cuni.amis.pogamut.sposh.exceptions.InvalidNameException
- All Implemented Interfaces:
- Serializable
public class InvalidNameException
- extends ParseException
Thrown when name in the lap plan is not valid (example: it includes
whitespaces). Names of data nodes
in the lap plan must be
parsable (since we are putting them into a text file), so when user tries to
pass incorrect name (e.g. starts with number, has whitespaces, braces...)
XXX: How exactly are names defined? Certainly not java identifier (thx2 '-'),
just regexp in the parser?
- Author:
- Honza
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidNameException
public InvalidNameException(String message)
create
public static InvalidNameException create(String name)
- Create an exception about invalid name
- Parameters:
name
- invalid name
- Returns:
- created exception
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.