Class 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
    • 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()  
      • 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

      • 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)
    • Method Detail

      • errors

        public com.google.common.collect.ImmutableList<JSError> errors()
      • warnings

        public com.google.common.collect.ImmutableList<JSError> warnings()