Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.servingxml.util
Class Asserter

    java.lang.Object
      com.servingxml.util.Asserter

    public class Asserter

extends java.lang.Object

Nested Class Summary
`static class` | `Asserter.AssertionException`

Method Summary
`static void` | `assertTrue(java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String message, boolean condition)` Asserts that a condition is true.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### assertTrue

    public static final void assertTrue(java.lang.String sourceClass,
                                        java.lang.String sourceMethod,
                                        java.lang.String message,
                                        boolean condition)

  Asserts that a condition is true. If not, throws an Asserter.Failed exception.

  Parameters:
    `sourceClass` - the class name.
    `sourceMethod` - the method name.
    `message` - a message for the assertion
    `condition` - the condition

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD