@Deprecated public class UnsupportedSourceException extends PipelinedComparatorException
Thrown to indicate the use of a pipeline Source input which is not supported.
The PipelinedComparator only supports certain subclasses of Source
. This exception is thrown when
the inputs are not compatible with those supported. The supported subclasses are:
StreamSource
SAXSource
The class of the supplied argument can be obtained with: UnsupportedSourceException.getSuppliedClass()
PipelinedComparator.compare(javax.xml.transform.Source, javax.xml.transform.Source, javax.xml.transform.Result)
,
StreamSource
,
SAXSource
,
Serialized FormConstructor and Description |
---|
UnsupportedSourceException(java.lang.String message,
java.lang.Class<?> suppliedClass)
Deprecated.
Creates a new UnsupportedSourceException.
|
UnsupportedSourceException(java.lang.String message,
java.lang.Throwable t,
java.lang.Class<?> suppliedClass)
Deprecated.
Creates a new UnsupportedSourceException.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getSuppliedClass()
Deprecated.
Provides the Class that is not supported, but attempted to be used, as an input.
|
getCause, getThrowable
public UnsupportedSourceException(java.lang.String message, java.lang.Throwable t, java.lang.Class<?> suppliedClass)
message
- The message stringt
- A nested throwable should it have lead to or caused this exceptionsuppliedClass
- the unsupported Source classpublic UnsupportedSourceException(java.lang.String message, java.lang.Class<?> suppliedClass)
message
- The message stringsuppliedClass
- the unsupported Source classCopyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.