chisel: First version of traps.
chisel: Generalize exception handling.