de.tuberlin.cs.cis.ocl.parser
Class MalformedDeclaratorException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--de.tuberlin.cs.cis.ocl.util.OclAnalysisException
                          |
                          +--de.tuberlin.cs.cis.ocl.parser.MalformedDeclaratorException
All Implemented Interfaces:
java.io.Serializable

public class MalformedDeclaratorException
extends OclAnalysisException

Thrown when a declarator production conforms to the changed grammar, but not to the original grammar. That is the expressions used to describe a declarator name list are not names.

Author:
fchabar
See Also:
Serialized Form

Constructor Summary
MalformedDeclaratorException(de.tuberlin.cs.cis.ocl.parser.node.Token token, java.lang.String message)
          Constructs the exception.
 
Methods inherited from class de.tuberlin.cs.cis.ocl.util.OclAnalysisException
getExplicitParserException, getStartLine, getStartPos, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MalformedDeclaratorException

public MalformedDeclaratorException(de.tuberlin.cs.cis.ocl.parser.node.Token token,
                                    java.lang.String message)
Constructs the exception.

Parameters:
message - the reason of the exception.