Tabnine Logo
ExceptionMapping
Code IndexAdd Tabnine to your IDE (free)

How to use
ExceptionMapping
in
org.apache.openejb.jee

Best Java code snippets using org.apache.openejb.jee.ExceptionMapping (Showing top 5 results out of 315)

origin: org.apache.openejb/openejb-jee

public QName getKey() {
  return getWsdlMessage();
}
origin: org.apache.openejb/openejb-axis

if (exceptionMapping.getWsdlMessagePartName() != null) {
  final String headerFaultMessagePartName = exceptionMapping.getWsdlMessagePartName();
  part = message.getPart(headerFaultMessagePartName);
} else {
faultInfo.qname = faultQName;
faultInfo.xmlType = faultTypeInfo.qname;
faultInfo.javaType = exceptionMapping.getExceptionType();
faultInfo.complex = faultTypeInfo.simpleBaseType == null;
if (exceptionMapping.getConstructorParameterOrder() != null) {
  if (faultTypeInfo.simpleBaseType != null) {
    throw new OpenEJBException("ConstructorParameterOrder can only be set for complex types, not " + faultTypeInfo.qname);
  final ConstructorParameterOrder constructorParameterOrder = exceptionMapping.getConstructorParameterOrder();
  for (int i = 0; i < constructorParameterOrder.getElementName().size(); i++) {
    final String paramName = constructorParameterOrder.getElementName().get(i);
origin: org.apache.tomee/openejb-jee

public QName getKey() {
  return getWsdlMessage();
}
origin: org.apache.geronimo.ext.openejb/openejb-jee

public QName getKey() {
  return getWsdlMessage();
}
origin: org.apache.geronimo.modules/geronimo-webservices-builder

public static Map<QName, ExceptionMapping> getExceptionMap(JavaWsdlMapping mapping) {
  Map<QName,ExceptionMapping> exceptionMap = new HashMap<QName, ExceptionMapping>();
  if (mapping != null) {
    Collection<ExceptionMapping> exceptionMappings = mapping.getExceptionMapping();
    for (ExceptionMapping exceptionMapping : exceptionMappings) {
      QName exceptionMessageQName = exceptionMapping.getWsdlMessage();
      exceptionMap.put(exceptionMessageQName, exceptionMapping);
    }
  }
  return exceptionMap;
}
org.apache.openejb.jeeExceptionMapping

Javadoc

The exception-mapping element defines the mapping between the service specific exception types and wsdl faults and SOAP headerfaults.

This element should be interpreted with respect to the mapping between a method and an operation which provides the mapping context.

Used in: service-endpoint-method-mapping

Most used methods

  • getWsdlMessage
  • getConstructorParameterOrder
  • getExceptionType
  • getWsdlMessagePartName

Popular in Java

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • getExternalFilesDir (Context)
  • putExtra (Intent)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now