Class MalformedTypedAstException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.javascript.jscomp.serialization.MalformedTypedAstException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MalformedTypedAstException
-
MalformedTypedAstException
-