Skip to main content



      Home
Home » Modeling » EMF » XMLProcessor.load(inpustream,map) throwing IOWrapped Exception
XMLProcessor.load(inpustream,map) throwing IOWrapped Exception [message #1393654] Fri, 04 July 2014 00:37 Go to next message
Eclipse UserFriend
Hi,

I am trying to process a xml file using xsd file.

In xsd file i have an element type enumeration. If i give some wrong value it is throwing me IOWrapped exception.

Exception contains what is the given value which is wrong but i need which element has received this value. so that i can parse the exception and do some handling.

Can any one how we can find which element has the IOException?


Thanks in advance.
Re: XMLProcessor.load(inpustream,map) throwing IOWrapped Exception [message #1394369 is a reply to message #1393654] Sat, 05 July 2014 02:41 Go to previous message
Eclipse UserFriend
Shakeer,

I'm not sure your goal, but you can see from where the exception is
thrown, so set a breakpoint and see where the problem is detected and
what you might do to specialize that to add extra logic. Note that when
loading a resource throws and exception, the resource is still loaded
and populated to the extent possible...

On 04/07/2014 4:39 PM, shakeer hussan wrote:
> Hi,
>
> I am trying to process a xml file using xsd file.
>
> In xsd file i have an element type enumeration. If i give some wrong
> value it is throwing me IOWrapped exception.
>
> Exception contains what is the given value which is wrong but i need
> which element has received this value. so that i can parse the
> exception and do some handling.
>
> Can any one how we can find which element has the IOException?
>
>
> Thanks in advance.
Previous Topic:[XCORE] The required library 'org.eclipse.emf.xcore.lib' isn't on the classpath
Next Topic:[CDO/Teneo] Update sites for CDO Hibernate Store / Teneo for Luna-based RCP?
Goto Forum:
  


Current Time: Thu Jul 10 01:39:29 EDT 2025

Powered by FUDForum. Page generated in 0.04903 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top