
com.deltaxml.core.UnsupportedDXPVersionException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xmlcalabash-extension-stubs Show documentation
Show all versions of xmlcalabash-extension-stubs Show documentation
This artifact defines API stubs for compiling extension classes.
The newest version!
package com.deltaxml.core;
/**
* Used to indicate that the throwing class does not support the DXP version of
* the loaded DXP file.
*
*
* This Exception is thrown when the generate method is called on one of the
* {@link DXPConfiguration} classes and the loaded DXP file contains features
* that are not supported. An example is the XPath-based attributes when and
* xpath not being supported by {@link DXPConfiguration}.
*
*
* The Exception contains information about which version the unsupported
* features are from and which version the throwing class can support.
*
* @see
* Class UnsupportedDXPVersionException
*/
public class UnsupportedDXPVersionException extends InvalidPipelineException {
public UnsupportedDXPVersionException(String message, String currentVersion, String supportedVersion) {
super(message);
throw new UnsupportedOperationException();
}
public String getCurrent() {
throw new UnsupportedOperationException();
}
public String getSupported() {
throw new UnsupportedOperationException();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy