KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: ramesh on August 19, 2009, 11:19:50 am

Title: com.konakart.bl exception
Post by: ramesh on August 19, 2009, 11:19:50 am
 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);
        }
    }