Package com.deltaxml.core.exceptions
Class PipelineLoadingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.deltaxml.core.exceptions.DeltaXMLException
com.deltaxml.core.exceptions.PipelineLoadingException
- All Implemented Interfaces:
Serializable
Indicates a problem when loading a pipeline. Loading a pipeline could involve parsing of textual XML and conversion into an
in-memory tree suitable for transformation by any input filters. Methods are provided so that its possible to determine if the
problem has been caused by the A or B pipeline inputs. A nested cause may contain further information and may typically be a
SAXParseException or XPathException.
- Since:
- 6.0
- Author:
- Nigel Whitaker
- See Also:
-
SAXParseExceptionXPathException- Serialized Form
-
Constructor Summary
ConstructorsConstructorDescriptionPipelineLoadingException(String message, Throwable t, PipelineIOIdentifier locationIdentifier) Creates a new PipelineLoadingException. -
Method Summary
Modifier and TypeMethodDescriptionProvides information about which input caused the loading problem.Methods inherited from class com.deltaxml.core.exceptions.DeltaXMLException
getCause, getThrowableMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PipelineLoadingException
public PipelineLoadingException(String message, Throwable t, PipelineIOIdentifier locationIdentifier) Creates a new PipelineLoadingException.- Parameters:
message- The exception message Stringt- A nested throwable should it have lead to or caused this exceptionlocationIdentifier- specifies which of the inputs could not be loaded
-
-
Method Details
-
getLocationId
Provides information about which input caused the loading problem.- Returns:
- a PipelineIOIdentifier corresponding the to input with a problem
-