Class BlacklistedExceptions


  • @API(status=INTERNAL,
         since="1.0")
    public final class BlacklistedExceptions
    extends Object
    Internal utilities for working with blacklisted exceptions.

    Blacklisted exceptions are those that should always terminate test plan execution immediately.

    Currently Blacklisted Exceptions

    DISCLAIMER

    These utilities are intended solely for usage within the JUnit framework itself. Any usage by external parties is not supported. Use at your own risk!

    Since:
    1.0
    • Method Detail

      • rethrowIfBlacklisted

        public static void rethrowIfBlacklisted​(Throwable exception)
        Rethrow the supplied exception if it is blacklisted.

        If the supplied exception is not blacklisted, this method does nothing.