E. Crane Computing Support Forum

Providing support for all E. Crane Computing products, including POWERGEN, PBSERVICE, HARPB, VERSIONEDIT, PBLRESCUE, and PBLEXPLORER.

You are not logged in.

#1 2008-01-22 16:40:57

kenB
Guest

Re: illegal data type error for custom throwables

Hi,

I just upgraded to PowerBuilder 10.5.2 build 7016 and PowerGen 7.0.  When I try to bootstrap my application, I get an error in a global function that throws a custom Throwable exception:

     Object: gf_get_attachment_path
         Forward Prototype Declarations
             (0002): Error       C0200: Illegal data type 'nv_throwable_attachment' used in throws statement. Must be a variable that derives from the system type THROWABLE.

The bootstrap completes without reporting an error, but when the build script gets to the Build All Applications step, it gives the same error and quits.

I saw a similar complaint on the PowerBuilder newsgroups in regard to OrcaScript -- I wonder if I need to upgrade PB to a later build?

Thanks in advance,
Ken Balakrishnan

#2 2008-01-31 11:37:59

kenB
Guest

Re: illegal data type error for custom throwables

Nevermind, using a custom Throwable object wasn't critical to the process, so I just changed the code to use the standard Throwable object instead.

Board footer