Update FrameBuffer.java due to problems with GWT.

Update FrameBuffer.java due to problems with GWT due to the use String.format method in an exception.