Basic Exception Handling Implemented.