public void setDocumentConn(String s)

{

try

{

System.out.println("In the setDocumentConn method .....");

System.out.println("col In the setDocumentConn method ....." + col);

document = (XMLResource)col.getResource(s);

System.out.println("After the resource creation .....");

String s1 = (String)document.getContent();

System.out.println("After creating the document .....");

doc = DocumentHelper.parseText(s1);

System.out.println("After creating the final document .....");

}

catch(ExceptionInInitializerError exceptionininitializererror)

{

System.out.println("ExceptionInInitializerError error : " + exceptionininitializererror);

}

catch(XMLDBException xmldbexception)

{

System.err.println("XML:DB Exception occured " + xmldbexception.errorCode + " " + xmldbexception.getMessage());

}

catch(Exception exception)

{

System.out.println("Error : " + exception);

}

}

 

i am trying to run the above code and getting runtime error

i am trying to accessing xindice remotely

 


col : [EMAIL PROTECTED]
in the constructor of class modify device ....
XM DB selected ....
In the setDocumentConn method .....
col In the setDocumentConn method .....org.apache.xindice.client.xmldb.xmlrpc.Co
[EMAIL PROTECTED]

ExceptionInInitializerError error : java.lang.ExceptionInInitializerError

 

 

what is the meaning of this error ExceptionInInitializerError

Yahoo! India Careers: Over 50,000 jobs online.

Reply via email to