com.ibm.ulc.util
Class Halt

java.lang.Object
  |
  +--com.ibm.ulc.util.Halt

public class Halt
extends java.lang.Object

hard halt on errors - useful with things like servlets where there are global traps for all errors to make sure the server stays up - in that case things like Assert won't work. its also more convenient as you can resume execution


Constructor Summary
Halt()
           
 
Method Summary
static void now()
           
static void unless(boolean condition)
           
static void when(boolean condition)
           
static void whenNull(java.lang.Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Halt

public Halt()
Method Detail

now

public static void now()

unless

public static void unless(boolean condition)

when

public static void when(boolean condition)

whenNull

public static void whenNull(java.lang.Object object)