Class MalformedTypedAstException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.google.javascript.jscomp.serialization.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
-
-
Constructor Summary
Constructors Constructor Description MalformedTypedAstException(java.lang.Object msg)
MalformedTypedAstException(java.lang.Object msg, java.lang.Throwable cause)
-