The SanityService provides assertion checking and debug
control.
Assertions and debug checks
can only be used for testing conditions that might occur
in development code but not in production code.
They are compiled out of production code.
Uses of assertions should not add AssertFailure catches or
throws clauses; AssertFailure is under RuntimeException
in the java exception hierarchy. |