Package ca.team3161.lib.utils
Class Assert.AssertionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ca.team3161.lib.utils.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