Package de.esoco.process
Klasse InvalidParametersException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.esoco.process.ProcessException
de.esoco.process.InvalidParametersException
- Alle implementierten Schnittstellen:
Serializable
A process exception subclass that is thrown when a process step encounters
invalid parameters.
- Siehe auch:
-
Konstruktorübersicht
KonstruktorBeschreibungInvalidParametersException
(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.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.InvalidParametersException
(ProcessFragment step, Map<org.obrel.core.RelationType<?>, String> invalidParamMessages) Creates a new instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the mapping from the invalid parameter types to strings that describe the problem (typically resource IDs).Von Klasse geerbte Methoden de.esoco.process.ProcessException
getProcessStep, getRootException
Von Klasse geerbte Methoden java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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 occurredinvalidParamMessages
- 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 occurredmessage
- The error messageinvalidParams
- 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 occurredmessage
- The error messageinvalidParams
- The invalid parameter types
-
-
Methodendetails
-
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
-