question: private void writeException ( DataOutputStream dos , byte type , Exception ex , Version clientVersion ) throws IOException { writeMessage ( dos , type , ex . toString ( ) , clientVersion ) ; }
target:  Writes an exception message to the socket