Klasse InvalidParametersException

Alle implementierten Schnittstellen:
Serializable

public class InvalidParametersException extends ProcessException
A process exception subclass that is thrown when a process step encounters invalid parameters.
Siehe auch:
  • Konstruktordetails

    • InvalidParametersException

      public InvalidParametersException(ProcessFragment step, Map<org.obrel.core.RelationType<?>,String> invalidParamMessages)
      Creates a new instance.
      Parameter:
      step - The process step in which the error occurred
      invalidParamMessages - A mapping from the invalid parameter types to strings that describe the problem
    • InvalidParametersException

      public InvalidParametersException(ProcessFragment step, String message, org.obrel.core.RelationType<?>... invalidParams)
      Creates a new instance for one or more invalid parameters with the same error message.
      Parameter:
      step - The process step in which the error occurred
      message - The error message
      invalidParams - The invalid parameter types
    • InvalidParametersException

      public InvalidParametersException(ProcessFragment step, String message, Collection<org.obrel.core.RelationType<?>> invalidParams)
      Creates a new instance for one or more invalid parameters with the same error message.
      Parameter:
      step - The process step in which the error occurred
      message - The error message
      invalidParams - The invalid parameter types
  • Methodendetails

    • getInvalidParams

      public final Map<org.obrel.core.RelationType<?>,String> getInvalidParams()
      Returns the mapping from the invalid parameter types to strings that describe the problem (typically resource IDs).
      Gibt zurück:
      The mapping from invalid parameters to error messages