private Result processScript()
throws IOException, HsqlException
{
String str = this.tokenizer.getString();
ScriptWriterText localScriptWriterText = null;
this.session.checkAdmin();
try
{
if (this.tokenizer.wasValue())
{
if (this.tokenizer.getType() != 12)
throw Trace.error(74);
localScriptWriterText = new ScriptWriterText(this.database, str, true, true, true);
localScriptWriterText.writeAll();
localResult = new Result(1);
return localResult;
}
this.tokenizer.back();
Result localResult = DatabaseScript.getScript(this.database, false);
return localResult;
}
finally
{
if (localScriptWriterText != null)
localScriptWriterText.close();
}
throw localObject;
}