Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » XMLProcessor.load(inpustream,map) throwing IOWrapped Exception
XMLProcessor.load(inpustream,map) throwing IOWrapped Exception [message #1393654] Fri, 04 July 2014 04:37 Go to next message
shakeer hussan is currently offline shakeer hussanFriend
Messages: 1
Registered: July 2014
Junior Member
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 06:41 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
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.


Ed Merks
Professional Support: https://www.macromodeling.com/
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: Fri Apr 26 07:37:47 GMT 2024

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

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

Back to the top