Class SWFailure


  • public final class SWFailure
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      SWFailure()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void fail​(java.lang.String sEnglishMessage)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SWFailure

        public SWFailure()
    • Method Detail

      • fail

        public static void fail​(java.lang.String sEnglishMessage)