java.lang.Object
org.mule.runtime.extension.api.error.ErrorMapping

public final class ErrorMapping extends Object
Determines that an error thrown by an operation should be mapped to another.
Since:
1.4
  • Constructor Details

    • ErrorMapping

      public ErrorMapping(String source, String target)
  • Method Details

    • getSource

      public String getSource()
      Returns:
      the type of the error to be mapped from
    • getTarget

      public String getTarget()
      Returns:
      the type of the error to be mapped to
    • toString

      public String toString()
      Overrides:
      toString in class Object