com.ibm.commerce.component.servicemapper

Class ServiceMappingException

  • All Implemented Interfaces:
    com.ibm.commerce.exception.ECCorrelatedIdentity, com.ibm.websphere.exception.DistributedExceptionEnabled, java.io.Serializable


    public class ServiceMappingException
    extends ECApplicationException
    This exception represents fatal problems encountered while a request is being converted into a service request. It optionally records the mapper being used, mapping group being used, and properties being converted, while this exception is thrown.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ServiceMappingException

        public ServiceMappingException(ServiceMapper mapper,
                                       java.lang.String groupName,
                                       java.util.Map properties,
                                       java.lang.Throwable cause)
        Constructs an instance of ServiceMappingException.
        Parameters:
        mapper - the mapper that throws this exception
        groupName - the group name used for mapping
        properties - the properties to be mapped
        cause - the cause of this exception. Use for chaining.
    • Method Detail

      • getServiceMapper

        public ServiceMapper getServiceMapper()
        Returns:
        the ServiceMapper that throws this exception. null if the mapper is unknown at the time the exception is thrown.
      • getMappingGroupName

        public java.lang.String getMappingGroupName()
        Returns:
        the name of the service mapping group used for the mapping. null if the name is unknown at the time the exception is thrown.
      • getProperties

        public java.util.Map getProperties()
        Returns:
        the properties being converted when the exception is thrown. null if the properties are unknown at the time the exception is thrown.