library basic exception