minijava.typecheck
Class TypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by minijava.typecheck.TypeException
All Implemented Interfaces:
java.io.Serializable

public class TypeException
extends java.lang.RuntimeException

This exception is thrown when a type checking rule is not met. This rule is enforced by a TypeChecker visitor when it traverses a parse tree.

Author:
Santoso Wijaya
See Also:
Serialized Form

Constructor Summary
TypeException(java.lang.String msg)
           
 
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

TypeException

public TypeException(java.lang.String msg)