esriJobFailed

2213
1
12-08-2013 11:56 AM
anjelinaponker
New Contributor
Hi
I have a geoprocessing web service, when my job has problem server return this message:

esriJobFailed

I need to customize above message to another message for example I need it show this message: Input coordinate is not valid.

I dont know how can I change "esriJobFailed" message?

please help me.
Regards
0 Kudos
1 Reply
KevinHibma
Esri Regular Contributor
You can't. The esriJobFailed, esriJobExecuting, esriJobSubmitted, etc are framework messages indicating the status of the job.

If you want a better error message you can turn messaging to ERROR (or higher, like INFO), and you'll get back the actual execution messages from the service. If your service throws an error like "Input coordinate is not valid", that message will come through and you can have the client display it.
0 Kudos