Class MalformedTypedAstException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class MalformedTypedAstException
    extends java.lang.RuntimeException
    Emitted when deserialization sees a TypedAst with semantic errors.

    This excpetion means a TypedAst is flawed in some way. It is distinct from other kinds of expections because it describes a user error, rather than a bug in deserialization. Most likely, the tool that generated the serialized data is faulty.

    This exception says nothing about the byte-level encoding or parsing of the input data. Instead, it means that TypedAst parsed from those bytes can't be translated into the compiler's internal representation.

    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • MalformedTypedAstException

        public MalformedTypedAstException​(java.lang.Object msg)
      • MalformedTypedAstException

        public MalformedTypedAstException​(java.lang.Object msg,
                                          java.lang.Throwable cause)