Why am I getting an incompatible types from the java compiler?
<p>I'm a Java newbie, but I am an experienced programmer (Assembler, COBOL, C/C++, REXX) </p>

<p>I can't understand why the compiler is giving me the following:</p>

<pre>
[loading java\lang\Throwable.class(java\lang:Throwable.class)]
src\LU62XnsCvr.java:265: incompatible types
found   : java.lang.String
required: java.lang.StringBuffer
               message_data = "LU62XCE0513: Request File I/O Exception =" ;
</pre>

<p>I've defined <code>message_data</code> as <code>static StringBuffer message_data = new StringBuffer();</code> </p>

<p>So why can't I place a simple literal string into the stringbuffer labeled <code>message_data</code> ? 
I mean BOTH are of type string .. right ??  </p>
