* Modified from FormatStream to FormatString, a code modified too.

* add test code for Error No.