org.kohsuke.rngom.ast.builder.BuildException Maven / Gradle / Ivy
Go to download
Old JAXB Binding Compiler. Contains source code needed for binding customization files into java sources.
In other words: the *tool* to generate java classes for the given xml representation.
package org.kohsuke.rngom.ast.builder;
/**
* Signals an error while building schemas.
*
*
* Only {@link SchemaBuilder} can throw this exception to
* abort the parsing in the middle.
*/
public class BuildException extends RuntimeException {
private final Throwable cause;
public BuildException(Throwable cause) {
if (cause == null)
throw new NullPointerException("null cause");
this.cause = cause;
}
public Throwable getCause() {
return cause;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy