Class TranspilationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.google.javascript.jscomp.bundle.TranspilationException
-
- All Implemented Interfaces:
java.io.Serializable
@GwtIncompatible public class TranspilationException extends java.lang.RuntimeException
An unchecked exception thrown when transpilation fails due to one or more errors in the input script.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TranspilationException(SourceExcerptProvider source, com.google.common.collect.ImmutableList<JSError> errors, com.google.common.collect.ImmutableList<JSError> warnings)
TranspilationException(java.lang.Exception cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.ImmutableList<JSError>
errors()
com.google.common.collect.ImmutableList<JSError>
warnings()
-
-
-
Constructor Detail
-
TranspilationException
public TranspilationException(java.lang.Exception cause)
-
TranspilationException
public TranspilationException(SourceExcerptProvider source, com.google.common.collect.ImmutableList<JSError> errors, com.google.common.collect.ImmutableList<JSError> warnings)
-
-