raise the appropriate custom exceptions for browser reader