cz.cuni.amis.pogamut.sposh.exceptions
Class UnexpectedElementException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cz.cuni.amis.pogamut.sposh.exceptions.UnexpectedElementException
- All Implemented Interfaces:
- Serializable
public class UnexpectedElementException
- extends RuntimeException
The method was passed unexpected PoshElement
as argument.
- Author:
- HonzaH
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnexpectedElementException
public UnexpectedElementException(String message)
create
public static UnexpectedElementException create(PoshElement element)
- Create new unexpected element exception, caller got unexpected
PoshElement
.
- Parameters:
element
-
- Returns:
- created exception
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.