Book a Demo

Author Topic: Operations: Throwing Exceptions  (Read 3571 times)

avexus_kms

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Operations: Throwing Exceptions
« on: January 14, 2003, 04:22:50 pm »
I have just started using EA today and have a question:

We are using Java as our coding language. When defining an operation in EA that will throw an exception how/where do I decleare that the operation throws an exception? I can't find where to do it.

Joel

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Operations: Throwing Exceptions
« Reply #1 on: January 15, 2003, 08:22:16 pm »
You add it as a tag value to your method call. Right click on a class and select operations. You then select the operation that you want the exception on. Go to the last tab called tagged values. Type throws in the tag field and the exception name, or all the exception seperated by commas in the value field.

;)

EA_Nj

  • EA User
  • **
  • Posts: 48
  • Karma: +0/-0
    • View Profile
Re: Operations: Throwing Exceptions
« Reply #2 on: March 18, 2003, 08:32:04 am »
I would also be interested in this functionality. If anyone knows of how to achieve this please post this on the forum!

Tjerk

  • EA User
  • **
  • Posts: 231
  • Karma: +1/-0
    • View Profile
Re: Operations: Throwing Exceptions
« Reply #3 on: March 19, 2003, 12:19:39 am »
Hi Joel,

Where did you find out about the tagged value? Is that tagged value also used in code generation? If so, I would like to have a list of all the tagged values that might be used in code generation (I've not found any in the manual).

Greetings,
Tjerk