com.sun.tools.internal.ws.processor.model.Fault Java Examples
The following examples show how to use
com.sun.tools.internal.ws.processor.model.Fault.
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: CustomExceptionGenerator.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private void registerFault(Fault fault) { try { write(fault); faults.put(fault.getJavaException().getName(), fault.getExceptionClass()); } catch (JClassAlreadyExistsException e) { throw new GeneratorException("generator.nestedGeneratorError",e); } }
Example #2
Source File: WSDLModelerBase.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
protected String getLiteralJavaMemberName(Fault fault) { String javaMemberName; QName memberName = fault.getElementName(); javaMemberName = fault.getJavaMemberName(); if (javaMemberName == null) { javaMemberName = memberName.getLocalPart(); } return javaMemberName; }
Example #3
Source File: CustomExceptionGenerator.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private boolean isRegistered(Fault fault) { if(faults.keySet().contains(fault.getJavaException().getName())){ fault.setExceptionClass(faults.get(fault.getJavaException().getName())); return true; } return false; }
Example #4
Source File: CustomExceptionGenerator.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private void registerFault(Fault fault) { try { write(fault); faults.put(fault.getJavaException().getName(), fault.getExceptionClass()); } catch (JClassAlreadyExistsException e) { throw new GeneratorException("generator.nestedGeneratorError",e); } }
Example #5
Source File: CustomExceptionGenerator.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private void registerFault(Fault fault) { try { write(fault); faults.put(fault.getJavaException().getName(), fault.getExceptionClass()); } catch (JClassAlreadyExistsException e) { throw new GeneratorException("generator.nestedGeneratorError",e); } }
Example #6
Source File: CustomExceptionGenerator.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private boolean isRegistered(Fault fault) { if(faults.keySet().contains(fault.getJavaException().getName())){ fault.setExceptionClass(faults.get(fault.getJavaException().getName())); return true; } return false; }
Example #7
Source File: CustomExceptionGenerator.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
private void registerFault(Fault fault) { try { write(fault); faults.put(fault.getJavaException().getName(), fault.getExceptionClass()); } catch (JClassAlreadyExistsException e) { throw new GeneratorException("generator.nestedGeneratorError",e); } }
Example #8
Source File: WSDLModeler.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private String getFaultClassName(com.sun.tools.internal.ws.wsdl.document.Fault portTypeFault) { JAXWSBinding jaxwsBinding = (JAXWSBinding) getExtensionOfType(portTypeFault, JAXWSBinding.class); if (jaxwsBinding != null) { CustomName className = jaxwsBinding.getClassName(); if (className != null) { return makePackageQualified(className.getName()); } } return makePackageQualified(BindingHelper.mangleNameToClassName(portTypeFault.getMessage().getLocalPart())); }
Example #9
Source File: WSDLModelerBase.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
protected String getLiteralJavaMemberName(Fault fault) { String javaMemberName; QName memberName = fault.getElementName(); javaMemberName = fault.getJavaMemberName(); if (javaMemberName == null) { javaMemberName = memberName.getLocalPart(); } return javaMemberName; }
Example #10
Source File: WSDLModeler.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
private String getFaultClassName(com.sun.tools.internal.ws.wsdl.document.Fault portTypeFault) { JAXWSBinding jaxwsBinding = (JAXWSBinding) getExtensionOfType(portTypeFault, JAXWSBinding.class); if (jaxwsBinding != null) { CustomName className = jaxwsBinding.getClassName(); if (className != null) { return makePackageQualified(className.getName()); } } return makePackageQualified(BindingHelper.mangleNameToClassName(portTypeFault.getMessage().getLocalPart())); }
Example #11
Source File: CustomExceptionGenerator.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
private boolean isRegistered(Fault fault) { if(faults.keySet().contains(fault.getJavaException().getName())){ fault.setExceptionClass(faults.get(fault.getJavaException().getName())); return true; } return false; }
Example #12
Source File: CustomExceptionGenerator.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private boolean isRegistered(Fault fault) { if(faults.keySet().contains(fault.getJavaException().getName())){ fault.setExceptionClass(faults.get(fault.getJavaException().getName())); return true; } return false; }
Example #13
Source File: CustomExceptionGenerator.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private void registerFault(Fault fault) { try { write(fault); faults.put(fault.getJavaException().getName(), fault.getExceptionClass()); } catch (JClassAlreadyExistsException e) { throw new GeneratorException("generator.nestedGeneratorError",e); } }
Example #14
Source File: WSDLModeler.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private String getFaultClassName(com.sun.tools.internal.ws.wsdl.document.Fault portTypeFault) { JAXWSBinding jaxwsBinding = (JAXWSBinding) getExtensionOfType(portTypeFault, JAXWSBinding.class); if (jaxwsBinding != null) { CustomName className = jaxwsBinding.getClassName(); if (className != null) { return makePackageQualified(className.getName()); } } return makePackageQualified(BindingHelper.mangleNameToClassName(portTypeFault.getMessage().getLocalPart())); }
Example #15
Source File: WSDLModeler.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private String getFaultClassName(com.sun.tools.internal.ws.wsdl.document.Fault portTypeFault) { JAXWSBinding jaxwsBinding = (JAXWSBinding) getExtensionOfType(portTypeFault, JAXWSBinding.class); if (jaxwsBinding != null) { CustomName className = jaxwsBinding.getClassName(); if (className != null) { return makePackageQualified(className.getName()); } } return makePackageQualified(BindingHelper.mangleNameToClassName(portTypeFault.getMessage().getLocalPart())); }
Example #16
Source File: WSDLModelerBase.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
protected String getLiteralJavaMemberName(Fault fault) { String javaMemberName; QName memberName = fault.getElementName(); javaMemberName = fault.getJavaMemberName(); if (javaMemberName == null) { javaMemberName = memberName.getLocalPart(); } return javaMemberName; }
Example #17
Source File: WSDLModelerBase.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
protected String getLiteralJavaMemberName(Fault fault) { String javaMemberName; QName memberName = fault.getElementName(); javaMemberName = fault.getJavaMemberName(); if (javaMemberName == null) { javaMemberName = memberName.getLocalPart(); } return javaMemberName; }
Example #18
Source File: CustomExceptionGenerator.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private boolean isRegistered(Fault fault) { if(faults.keySet().contains(fault.getJavaException().getName())){ fault.setExceptionClass(faults.get(fault.getJavaException().getName())); return true; } return false; }
Example #19
Source File: CustomExceptionGenerator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private boolean isRegistered(Fault fault) { if(faults.keySet().contains(fault.getJavaException().getName())){ fault.setExceptionClass(faults.get(fault.getJavaException().getName())); return true; } return false; }
Example #20
Source File: CustomExceptionGenerator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private void registerFault(Fault fault) { try { write(fault); faults.put(fault.getJavaException().getName(), fault.getExceptionClass()); } catch (JClassAlreadyExistsException e) { throw new GeneratorException("generator.nestedGeneratorError",e); } }
Example #21
Source File: WSDLModelerBase.java From hottub with GNU General Public License v2.0 | 5 votes |
protected String getLiteralJavaMemberName(Fault fault) { String javaMemberName; QName memberName = fault.getElementName(); javaMemberName = fault.getJavaMemberName(); if (javaMemberName == null) { javaMemberName = memberName.getLocalPart(); } return javaMemberName; }
Example #22
Source File: WSDLModeler.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private String getFaultClassName(com.sun.tools.internal.ws.wsdl.document.Fault portTypeFault) { JAXWSBinding jaxwsBinding = (JAXWSBinding) getExtensionOfType(portTypeFault, JAXWSBinding.class); if (jaxwsBinding != null) { CustomName className = jaxwsBinding.getClassName(); if (className != null) { return makePackageQualified(className.getName()); } } return makePackageQualified(BindingHelper.mangleNameToClassName(portTypeFault.getMessage().getLocalPart())); }
Example #23
Source File: WSDLModelerBase.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
protected String getLiteralJavaMemberName(Fault fault) { String javaMemberName; QName memberName = fault.getElementName(); javaMemberName = fault.getJavaMemberName(); if (javaMemberName == null) { javaMemberName = memberName.getLocalPart(); } return javaMemberName; }
Example #24
Source File: WSDLModeler.java From hottub with GNU General Public License v2.0 | 5 votes |
private String getFaultClassName(com.sun.tools.internal.ws.wsdl.document.Fault portTypeFault) { JAXWSBinding jaxwsBinding = (JAXWSBinding) getExtensionOfType(portTypeFault, JAXWSBinding.class); if (jaxwsBinding != null) { CustomName className = jaxwsBinding.getClassName(); if (className != null) { return makePackageQualified(className.getName()); } } return makePackageQualified(BindingHelper.mangleNameToClassName(portTypeFault.getMessage().getLocalPart())); }
Example #25
Source File: CustomExceptionGenerator.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
private boolean isRegistered(Fault fault) { if(faults.keySet().contains(fault.getJavaException().getName())){ fault.setExceptionClass(faults.get(fault.getJavaException().getName())); return true; } return false; }
Example #26
Source File: CustomExceptionGenerator.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
private void registerFault(Fault fault) { try { write(fault); faults.put(fault.getJavaException().getName(), fault.getExceptionClass()); } catch (JClassAlreadyExistsException e) { throw new GeneratorException("generator.nestedGeneratorError",e); } }
Example #27
Source File: CustomExceptionGenerator.java From hottub with GNU General Public License v2.0 | 5 votes |
private void registerFault(Fault fault) { try { write(fault); faults.put(fault.getJavaException().getName(), fault.getExceptionClass()); } catch (JClassAlreadyExistsException e) { throw new GeneratorException("generator.nestedGeneratorError",e); } }
Example #28
Source File: WSDLModeler.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
private String getFaultClassName(com.sun.tools.internal.ws.wsdl.document.Fault portTypeFault) { JAXWSBinding jaxwsBinding = (JAXWSBinding) getExtensionOfType(portTypeFault, JAXWSBinding.class); if (jaxwsBinding != null) { CustomName className = jaxwsBinding.getClassName(); if (className != null) { return makePackageQualified(className.getName()); } } return makePackageQualified(BindingHelper.mangleNameToClassName(portTypeFault.getMessage().getLocalPart())); }
Example #29
Source File: CustomExceptionGenerator.java From hottub with GNU General Public License v2.0 | 5 votes |
private boolean isRegistered(Fault fault) { if(faults.keySet().contains(fault.getJavaException().getName())){ fault.setExceptionClass(faults.get(fault.getJavaException().getName())); return true; } return false; }
Example #30
Source File: WSDLModelerBase.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
protected String getLiteralJavaMemberName(Fault fault) { String javaMemberName; QName memberName = fault.getElementName(); javaMemberName = fault.getJavaMemberName(); if (javaMemberName == null) { javaMemberName = memberName.getLocalPart(); } return javaMemberName; }