# Class: com.pnfsoftware.jeb.util.base.Assert

A replacement for built\-in `assert`s. Production\-compatible assert\-likes. Do not throw [AssertionError](AssertionError) on failure; instead, a [RuntimeException](RuntimeException) is raised. 

 Assert methods throw [RuntimeException](RuntimeException). The stacktrace of such as exception is adjusted to reflect the actual code line where `a(...)` or `fail(...)` was called.

## Constructor: Assert


## Static Method: a
- parameter: `expression`, type: `boolean`
- parameter: `message`, type: `java.lang.String`

Description: Assert that condition is true

## Static Method: a
- parameter: `expression`, type: `boolean`
- parameter: `message`, type: `java.lang.String`
- parameter: `args`, type: `java.lang.Object[]`


## Static Method: a
- parameter: `expression`, type: `boolean`


## Static Method: debugFail
- parameter: `message`, type: `java.lang.String`

Description: Fail ONLY on debug builds. Use carefully; this method can yield side\-effect bugs on release builds that would have otherwise be caught in debug mode.
parameter: message: 

## Static Method: debugFail

Description: Fail ONLY on debug builds. Use carefully; this method can yield side\-effect bugs on release builds that would have otherwise be caught in debug mode.

## Static Method: debugFail
- parameter: `t`, type: `java.lang.Throwable`


## Static Method: fail
- parameter: `message`, type: `java.lang.String`


## Static Method: fail


