Class Assert.AssertionException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Assert

    public static final class Assert.AssertionException
    extends java.lang.RuntimeException
    Indicates that an Assert statement has failed. This is intended to cause a crash and halt your robot code, leaving the cRIO/RoboRIO responsible for stopping all motor controllers, relays, etc. If you ever find yourself using a try/catch to catch an AssertionException, this is a very strong indicator that you are using Assert incorrectly.
    See Also:
    Serialized Form
    • Method Summary

      • 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