org.openbp.common.io.xml
Class XResolvingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.openbp.common.io.xml.XResolvingException
All Implemented Interfaces:
java.io.Serializable

public class XResolvingException
extends java.lang.RuntimeException

Exception that indicates that a dependent classes ('extends' or 'depends' attribute in the mapping file) could not be resolved. The class extends from RuntimeException to prevent having to declare the XClassMappingResolver.resolve method throw an exception, which would make it incompatible to Castor's IDResolver class.
It might contain the exception that has occurred inside the loading process.

Author:
Heiko Erhardt
See Also:
Serialized Form

Constructor Summary
XResolvingException(java.lang.Exception exception)
          Constructor.
XResolvingException(java.lang.String msg)
          Constructor.
XResolvingException(java.lang.String msg, java.lang.Exception exception)
          Constructor.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XResolvingException

public XResolvingException(java.lang.String msg)
Constructor.

Parameters:
msg - Exception message

XResolvingException

public XResolvingException(java.lang.Exception exception)
Constructor.

Parameters:
exception - Nested exception

XResolvingException

public XResolvingException(java.lang.String msg,
                           java.lang.Exception exception)
Constructor.

Parameters:
msg - Exception message
exception - Nested exception


Copyright © 2011. All Rights Reserved.