Siebel eScript Language Reference > Methods Reference > Buffer Methods >

Get Buffer Data Method


The Get Buffer Data method returns a string that contains the same data that the buffer contains. If necessary, it does a Unicode conversion according to the value of the Use Unicode in Buffer property. For more information, see Avoiding an Exception Error That Is Not Handled.

Format

bufferVar.toString()

Example

The following example uses the Get Buffer Data method:

try
{
   do_something;
}
catch( e )
{
   TheApplication().RaiseErrorText(Clib.rsprintf(
      "Something bad happened: %s\n",e.toString()));
}

Siebel eScript Language Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.