Added runtime exceptions in equipment lookup routines.