Class ShadowLog.TerribleFailure

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    ShadowLog

    public static class ShadowLog.TerribleFailure
    extends RuntimeException
    Failure thrown when wtf_is_fatal is true and Log.wtf is called. This is a parallel implementation of framework's hidden API android.util.Log#TerribleFailure, to allow tests to catch / expect these exceptions.
    See Also:
    Serialized Form
    • Constructor Detail

      • TerribleFailure

        public TerribleFailure​(String msg,
                               Throwable cause)