com.sun.tools.internal.xjc.AbortException Java Examples

The following examples show how to use com.sun.tools.internal.xjc.AbortException. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TDTDReader.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
protected TDTDReader(ErrorReceiver errorReceiver, Options opts, InputSource _bindInfo)
    throws AbortException {
    this.entityResolver = opts.entityResolver;
    this.errorReceiver = new ErrorReceiverFilter(errorReceiver);
    bindInfo = new BindInfo(model,_bindInfo, this.errorReceiver);
    classFactory = new CodeModelClassFactory(errorReceiver);
}
 
Example #2
Source File: TDTDReader.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
protected TDTDReader(ErrorReceiver errorReceiver, Options opts, InputSource _bindInfo)
    throws AbortException {
    this.entityResolver = opts.entityResolver;
    this.errorReceiver = new ErrorReceiverFilter(errorReceiver);
    bindInfo = new BindInfo(model,_bindInfo, this.errorReceiver);
    classFactory = new CodeModelClassFactory(errorReceiver);
}
 
Example #3
Source File: TDTDReader.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
protected TDTDReader(ErrorReceiver errorReceiver, Options opts, InputSource _bindInfo)
    throws AbortException {
    this.entityResolver = opts.entityResolver;
    this.errorReceiver = new ErrorReceiverFilter(errorReceiver);
    bindInfo = new BindInfo(model,_bindInfo, this.errorReceiver);
    classFactory = new CodeModelClassFactory(errorReceiver);
}
 
Example #4
Source File: TDTDReader.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
protected TDTDReader(ErrorReceiver errorReceiver, Options opts, InputSource _bindInfo)
    throws AbortException {
    this.entityResolver = opts.entityResolver;
    this.errorReceiver = new ErrorReceiverFilter(errorReceiver);
    bindInfo = new BindInfo(model,_bindInfo, this.errorReceiver);
    classFactory = new CodeModelClassFactory(errorReceiver);
}
 
Example #5
Source File: TDTDReader.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
protected TDTDReader(ErrorReceiver errorReceiver, Options opts, InputSource _bindInfo)
    throws AbortException {
    this.entityResolver = opts.entityResolver;
    this.errorReceiver = new ErrorReceiverFilter(errorReceiver);
    bindInfo = new BindInfo(model,_bindInfo, this.errorReceiver);
    classFactory = new CodeModelClassFactory(errorReceiver);
}
 
Example #6
Source File: TDTDReader.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
protected TDTDReader(ErrorReceiver errorReceiver, Options opts, InputSource _bindInfo)
    throws AbortException {
    this.entityResolver = opts.entityResolver;
    this.errorReceiver = new ErrorReceiverFilter(errorReceiver);
    bindInfo = new BindInfo(model,_bindInfo, this.errorReceiver);
    classFactory = new CodeModelClassFactory(errorReceiver);
}
 
Example #7
Source File: TDTDReader.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
protected TDTDReader(ErrorReceiver errorReceiver, Options opts, InputSource _bindInfo)
    throws AbortException {
    this.entityResolver = opts.entityResolver;
    this.errorReceiver = new ErrorReceiverFilter(errorReceiver);
    bindInfo = new BindInfo(model,_bindInfo, this.errorReceiver);
    classFactory = new CodeModelClassFactory(errorReceiver);
}
 
Example #8
Source File: TDTDReader.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
protected TDTDReader(ErrorReceiver errorReceiver, Options opts, InputSource _bindInfo)
    throws AbortException {
    this.entityResolver = opts.entityResolver;
    this.errorReceiver = new ErrorReceiverFilter(errorReceiver);
    bindInfo = new BindInfo(model,_bindInfo, this.errorReceiver);
    classFactory = new CodeModelClassFactory(errorReceiver);
}
 
Example #9
Source File: BindInfo.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public BindInfo(Model model, InputSource source, ErrorReceiver _errorReceiver) throws AbortException {
    this( model, parse(model,source,_errorReceiver), _errorReceiver);
}
 
Example #10
Source File: BindInfo.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public BindInfo(Model model, InputSource source, ErrorReceiver _errorReceiver) throws AbortException {
    this( model, parse(model,source,_errorReceiver), _errorReceiver);
}
 
Example #11
Source File: BindInfo.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public BindInfo(Model model, InputSource source, ErrorReceiver _errorReceiver) throws AbortException {
    this( model, parse(model,source,_errorReceiver), _errorReceiver);
}
 
Example #12
Source File: BindInfo.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public BindInfo(Model model, InputSource source, ErrorReceiver _errorReceiver) throws AbortException {
    this( model, parse(model,source,_errorReceiver), _errorReceiver);
}
 
Example #13
Source File: BindInfo.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public BindInfo(Model model, InputSource source, ErrorReceiver _errorReceiver) throws AbortException {
    this( model, parse(model,source,_errorReceiver), _errorReceiver);
}
 
Example #14
Source File: BindInfo.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public BindInfo(Model model, InputSource source, ErrorReceiver _errorReceiver) throws AbortException {
    this( model, parse(model,source,_errorReceiver), _errorReceiver);
}
 
Example #15
Source File: BindInfo.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public BindInfo(Model model, InputSource source, ErrorReceiver _errorReceiver) throws AbortException {
    this( model, parse(model,source,_errorReceiver), _errorReceiver);
}
 
Example #16
Source File: BindInfo.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
public BindInfo(Model model, InputSource source, ErrorReceiver _errorReceiver) throws AbortException {
    this( model, parse(model,source,_errorReceiver), _errorReceiver);
}
 
Example #17
Source File: BeanGenerator.java    From openjdk-jdk9 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Generates beans into code model according to the BGM,
 * and produces the reflection model.
 *
 * @param _errorReceiver
 *      This object will receive all the errors discovered
 *      during the back-end stage.
 *
 * @return
 *      returns a {@link Outline} which will in turn
 *      be used to further generate marshaller/unmarshaller,
 *      or null if the processing fails (errors should have been
 *      reported to the error recevier.)
 */
public static Outline generate(Model model, ErrorReceiver _errorReceiver) {

    try {
        return new BeanGenerator(model, _errorReceiver);
    } catch (AbortException e) {
        return null;
    }
}
 
Example #18
Source File: BeanGenerator.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Generates beans into code model according to the BGM,
 * and produces the reflection model.
 *
 * @param _errorReceiver
 *      This object will receive all the errors discovered
 *      during the back-end stage.
 *
 * @return
 *      returns a {@link Outline} which will in turn
 *      be used to further generate marshaller/unmarshaller,
 *      or null if the processing fails (errors should have been
 *      reported to the error recevier.)
 */
public static Outline generate(Model model, ErrorReceiver _errorReceiver) {

    try {
        return new BeanGenerator(model, _errorReceiver);
    } catch (AbortException e) {
        return null;
    }
}
 
Example #19
Source File: BeanGenerator.java    From hottub with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Generates beans into code model according to the BGM,
 * and produces the reflection model.
 *
 * @param _errorReceiver
 *      This object will receive all the errors discovered
 *      during the back-end stage.
 *
 * @return
 *      returns a {@link Outline} which will in turn
 *      be used to further generate marshaller/unmarshaller,
 *      or null if the processing fails (errors should have been
 *      reported to the error recevier.)
 */
public static Outline generate(Model model, ErrorReceiver _errorReceiver) {

    try {
        return new BeanGenerator(model, _errorReceiver);
    } catch (AbortException e) {
        return null;
    }
}
 
Example #20
Source File: BeanGenerator.java    From openjdk-jdk8u with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Generates beans into code model according to the BGM,
 * and produces the reflection model.
 *
 * @param _errorReceiver
 *      This object will receive all the errors discovered
 *      during the back-end stage.
 *
 * @return
 *      returns a {@link Outline} which will in turn
 *      be used to further generate marshaller/unmarshaller,
 *      or null if the processing fails (errors should have been
 *      reported to the error recevier.)
 */
public static Outline generate(Model model, ErrorReceiver _errorReceiver) {

    try {
        return new BeanGenerator(model, _errorReceiver);
    } catch (AbortException e) {
        return null;
    }
}
 
Example #21
Source File: BeanGenerator.java    From openjdk-8-source with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Generates beans into code model according to the BGM,
 * and produces the reflection model.
 *
 * @param _errorReceiver
 *      This object will receive all the errors discovered
 *      during the back-end stage.
 *
 * @return
 *      returns a {@link Outline} which will in turn
 *      be used to further generate marshaller/unmarshaller,
 *      or null if the processing fails (errors should have been
 *      reported to the error recevier.)
 */
public static Outline generate(Model model, ErrorReceiver _errorReceiver) {

    try {
        return new BeanGenerator(model, _errorReceiver);
    } catch (AbortException e) {
        return null;
    }
}
 
Example #22
Source File: BeanGenerator.java    From jdk8u60 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Generates beans into code model according to the BGM,
 * and produces the reflection model.
 *
 * @param _errorReceiver
 *      This object will receive all the errors discovered
 *      during the back-end stage.
 *
 * @return
 *      returns a {@link Outline} which will in turn
 *      be used to further generate marshaller/unmarshaller,
 *      or null if the processing fails (errors should have been
 *      reported to the error recevier.)
 */
public static Outline generate(Model model, ErrorReceiver _errorReceiver) {

    try {
        return new BeanGenerator(model, _errorReceiver);
    } catch (AbortException e) {
        return null;
    }
}
 
Example #23
Source File: BeanGenerator.java    From openjdk-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Generates beans into code model according to the BGM,
 * and produces the reflection model.
 *
 * @param _errorReceiver
 *      This object will receive all the errors discovered
 *      during the back-end stage.
 *
 * @return
 *      returns a {@link Outline} which will in turn
 *      be used to further generate marshaller/unmarshaller,
 *      or null if the processing fails (errors should have been
 *      reported to the error recevier.)
 */
public static Outline generate(Model model, ErrorReceiver _errorReceiver) {

    try {
        return new BeanGenerator(model, _errorReceiver);
    } catch (AbortException e) {
        return null;
    }
}
 
Example #24
Source File: BeanGenerator.java    From TencentKona-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Generates beans into code model according to the BGM,
 * and produces the reflection model.
 *
 * @param _errorReceiver
 *      This object will receive all the errors discovered
 *      during the back-end stage.
 *
 * @return
 *      returns a {@link Outline} which will in turn
 *      be used to further generate marshaller/unmarshaller,
 *      or null if the processing fails (errors should have been
 *      reported to the error recevier.)
 */
public static Outline generate(Model model, ErrorReceiver _errorReceiver) {

    try {
        return new BeanGenerator(model, _errorReceiver);
    } catch (AbortException e) {
        return null;
    }
}