Error managment

Hi,

I’ve read the 4.0 manual and checked(I hope well) the sample solution but I haven’t find an answer to my question:

Is possible catch an error from a portion of code?
like this:

try{
.
.
}catch(Exception e){
.
.
}

And what about the Error managment at function-level?
es:

function myFunction() throws IOException{
.
.
}

I’d like to say if exist something similar into servoy.
If not can someone give me an alternative good-way to manage my error?

Thanks in advance

Marco

Have you tried playing around with the servoy Exceptions?

JavaScript supports the following:

try {} catch (e) {}

Within Servoy you additionaly can attach a global error handler to a solution, you process raised errors.

Paul

JavaScript supports the following:
CODE: SELECT ALL
try {} catch (e) {}

Within Servoy you additionaly can attach a global error handler to a solution, you process raised errors.

Paul

thanks for your answer

Marco