org.sca4j.introspection.xml
Class LoaderException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.sca4j.host.SCA4JException
              extended by org.sca4j.introspection.IntrospectionException
                  extended by org.sca4j.introspection.xml.LoaderException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InvalidPrefixException, UnrecognizedElementException

public class LoaderException
extends IntrospectionException

Base class for Exceptions raised during the loading process. Loader implementations should throw a subclass of this to indicate the actual problem.

Version:
$Rev: 4308 $ $Date: 2008-05-23 18:03:16 +0100 (Fri, 23 May 2008) $
See Also:
Serialized Form

Field Summary
static int UNDEFINED
           
 
Constructor Summary
LoaderException(java.lang.String message, java.lang.Throwable cause)
           
LoaderException(java.lang.String message, javax.xml.stream.XMLStreamReader reader)
           
LoaderException(java.lang.String message, javax.xml.stream.XMLStreamReader reader, java.lang.Throwable cause)
           
 
Method Summary
 int getColumn()
           
 int getLine()
           
 java.lang.String getResourceURI()
          Returns the location of the resource that was being loaded.
 java.lang.String toString()
           
 
Methods inherited from class org.sca4j.host.SCA4JException
getIdentifier, printStackTraceElements
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNDEFINED

public static final int UNDEFINED
See Also:
Constant Field Values
Constructor Detail

LoaderException

public LoaderException(java.lang.String message,
                       javax.xml.stream.XMLStreamReader reader,
                       java.lang.Throwable cause)

LoaderException

public LoaderException(java.lang.String message,
                       javax.xml.stream.XMLStreamReader reader)

LoaderException

public LoaderException(java.lang.String message,
                       java.lang.Throwable cause)
Method Detail

getResourceURI

public java.lang.String getResourceURI()
Returns the location of the resource that was being loaded.

Returns:
the location of the resource that was being loaded

getLine

public int getLine()

getColumn

public int getColumn()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable


Copyright © 2008-2011 Service Symphony. All Rights Reserved.