Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [birt-dev] API change request to support abort on error

+1.  This task level option will help the app to control the desired outcome when execution run into error.  

Do you see the need of enum values for warnings?

How about name the method as setErrorHandlingOption()

-----Original Message-----
From: "Wei Yan" <wyan@xxxxxxxxxxx>
To: "birt-dev@xxxxxxxxxxx" <birt-dev@xxxxxxxxxxx>
Sent: 12/17/06 7:59 PM
Subject: [birt-dev] API change request to support abort on error

To resolve the bug described in 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=147145

We request to change the API to add an method in
org.eclipse.birt.report.api.IEngineTask: 

 

      Void setDefaultErrorOperation(int operation);

      Fianl static int CONTINE_ON_ERROR = 0;

      Final Static int CANCEL_ON_ERROR = 1;

 

The default behavior is CONTINUE_ON_ERROR.

 

Thanks.

 

-Wei Yan

 



Back to the top