on 03-26-2008 9:06 PM
Hi ,
Can I build custom exceptions in message mapping. For e.g. Can I raise an exception if a certian field has a certian value?
I would appreciate it if you could provide with some Examples?
Arvind R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can have normal exception handling inside UDF, but if you throw any exceptions, you need to throw only RuntimeExceptions.
> if (a.equals("NOT_ALLOWED_VALUE")) {
> throw new RuntimeException("Not Allowed Value received.");
> }
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey
have a look at the below blog
/people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.