MOEA Framework 2.12
API Specification

org.moeaframework.util.grammar
Class GrammarException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.moeaframework.core.FrameworkException
                  extended by org.moeaframework.util.grammar.GrammarException
All Implemented Interfaces:
Serializable

public class GrammarException
extends FrameworkException

Exception indicating an error while parsing or processing grammars.

See Also:
Serialized Form

Constructor Summary
GrammarException(String message)
          Constructs an exception indicating an error while parsing or processing grammars.
GrammarException(String message, int line)
          Constructs an exception indicating an error while parsing or processing grammars.
 
Method Summary
 
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

GrammarException

public GrammarException(String message)
Constructs an exception indicating an error while parsing or processing grammars.

Parameters:
message - the error message

GrammarException

public GrammarException(String message,
                        int line)
Constructs an exception indicating an error while parsing or processing grammars.

Parameters:
message - the error message
line - the line number on which the error occurred

MOEA Framework 2.12
API Specification

Copyright 2009-2016 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Visit us on Github!