serial port exception