cz.cuni.amis.pogamut.sposh.exceptions
Class UnexpectedElementException

Package class diagram package UnexpectedElementException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
UnexpectedElementException(String message)
           
 
Method Summary
static UnexpectedElementException create(PoshElement element)
          Create new unexpected element exception, caller got unexpected PoshElement.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnexpectedElementException

public UnexpectedElementException(String message)
Method Detail

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.