Hi Jay,

I'm not aware of JiBX eating Throwable. Can you give me some details of 
what you saw? Thanks,

  - Dennis

Dennis M. Sosnoski
SOA, Web Services, and XML
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-296-6194 - Wellington, NZ +64-4-298-6117



Jay Blanton wrote:
> I found out that an exception was happening in my deserialization of 
> one of my custom types.  I played around with throwing checked 
> exceptions or runtime exceptions and they both caused JiBX to fail, 
> but I never saw them in the stack trace.  Does the JiBXException 
> squelch the stack trace and not pass along Throwable?
>
> Thanks,
>
> -jay
>
> On 4/14/06, *Jay Blanton* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     I have rebuilt my binding.xml file multiple times and I have
>     validated it against the jibx dtd.
>
>     But I keep getting the following error:
>
>     org.jibx.runtime.JiBXException: Error while unmarshalling (line 1,
>     col 631)
>         at
>     
> com.foo.common.xml.databinding.JibxXmlBinder.unmarshal(JibxXmlBinder.java:127)
>         at
>     
> com.foo.common.xml.databinding.XmlBinderHelper.mapXmlToObject(XmlBinderHelper.java:281)
>         at com.foo.bene.ServiceBinderTest.testErrorResults
>     (ServiceBinderTest.java:972)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>     
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke
>     (DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at junit.framework.TestCase.runTest(TestCase.java:154)
>         at junit.framework.TestCase.runBare(TestCase.java:127)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run (TestCase.java:118)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at
>     
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java
>     :478)
>         at
>     
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
>         at
>     
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
>
>     Caused by: org.jibx.runtime.JiBXException : Error while
>     unmarshalling (line 1, col 631)
>         at
>     
> com.foo.bene.to.PrimaryCareManagerTO.JiBX_ServiceResponseBinding_unmarshal_2_1(PrimaryCareManagerTO.java)
>         at
>     
> com.foo.bene.to.JiBX_ServiceResponseBindingPrimaryCareManagerTO_access.unmarshal
>     ()
>         at
>     org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(Unknown
>     Source)
>         at
>     org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(Unknown
>     Source)
>         at com.foo.common.xml.databinding.JibxXmlBinder.unmarshal
>     (JibxXmlBinder.java:124)
>
>     Can anyone tell me what this means?
>
>     -- 
>     jay blanton
>     [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>     (c) 916-715-1529
>
>
>
>
> -- 
> jay blanton
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> (c) 916-715-1529 


_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to