added standard exception library for compatibility