Removed obsolete exception classes in ejb module.