Implement xbeereceiver class and add new exception type TerminateProcess, but not used yet.