on 04-25-2008 5:22 PM
Hi friends,
i am new to exceptions..
i am following the blog.
/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
i used the same code..
but i am getting error while compling
ExceptionThrower.java:5: cannot find symbol
symbol : class CustomMappingException
location: class com.xxx.yyy.CustomMappingException.ExceptionThrower
public static void fire(String message) throws CustomMappingException {
^
ExceptionThrower.java:6: cannot find symbol
symbol : class CustomMappingException
location: class com.electolux.compass.CustomMappingException.ExceptionThrower
throw new CustomMappingException(message);
^
please guide me
regards
hi ravi
thx for ur response
that issue solved..and i imported as archive..
and i activated it.
in udf i given in imports i given com.xxx.yyy.*;
i am getting the eror while activating MM..
D:/usr/sap/E40/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapfc128e1012e811dd997c00145ed7d900/source/com/sap/xi/tf/_MM_Advice_To_Order _.java:3: package com.xxx.yyy does not exist
import com.sap.aii.mappingtool.tf3.;import com.sap.aii.mappingtool.tf3.rt.;import java.util.;import java.io.; import java.lang.reflect.;import com.xxx.yyy.;
^
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Munna,
Its pretty obvious what the issue is..you declared a custom exception..DID YOU CREATE A CUSTOM EXCEPTION CLASS AND is it in the same package..??
Let me know if u need the code..i can send it
Regards
Ravi Raman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.