• Welcome to KonaKart Community Forum. Please login or sign up.
 

com.konakart.bl exception

Started by ramesh, August 19, 2009, 11:19:50 am

Previous topic - Next topic

ramesh

 Hi Friends,
I decompile EmailMgr.class file. Then i try to compile this java file after some modification, I got erro,any body would explain any wrong in this code. I am very sure that there is no error in two lines of mine code.

Thanks in advance.



public Emailer getEmailer()
        throws KKException
    {
        return new Emailer();
        Exception exception;
        exception  ;  // Here is erro :  Syntax error, insert "AssignmentOperator Expression" to complete Expression
        if(exception.getClass().getName().equals("com.konakart.app.KKException"))
        {
            throw (KKException)(KKException)exception;
        } else
        {
            throw new KKException(exception);
        }
    }