Class SWFailure


  • public final class SWFailure
    extends Object
    The FAILURE macro is essentially like an assert. It does not return control to the caller (it throws an exception). In debug mode, it provides some useful information, including an English message intended for developers to see. In release mode, a generic "Software Failure" exception is thrown.
    • Constructor Detail

      • SWFailure

        public SWFailure()
    • Method Detail

      • fail

        public static void fail​(String sEnglishMessage)