Cache based exceptions
tie exception handling with invalid dbm types and no file path specified