-
Notifications
You must be signed in to change notification settings - Fork 81
Add parameters to ExceptionPipe and update ErrorMessageFormatter to apply them #9165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
*/ | ||
public class PipeRunException extends IbisException { | ||
|
||
private @Getter IPipe pipeInError = null; | ||
private final @Getter IPipe pipeInError; | ||
private final @Getter Map<String, Object> parameters; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Het ziet er goed uit volgens mij, ik zie veel mogelijkheden. Wel vraag ik mij af of het verstanding is om een Object mee te geven in plaats van een String?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
De map ParameterValueList#getValueMap()
heeft als type-signature Map<String, Object>
. Vandaar dat deze dat ook heeft.
</EchoPipe> | ||
|
||
<ExceptionPipe name="result-count=0" copyParametersToSession="true"> | ||
<Param name="errorCode" value="-1"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NumberParam :D
|
No description provided.