Skip to content
This repository has been archived by the owner on Nov 15, 2020. It is now read-only.

unnecessary use ExceptionUtils.getRootCause #106

Open
reb33 opened this issue Feb 22, 2018 · 2 comments
Open

unnecessary use ExceptionUtils.getRootCause #106

reb33 opened this issue Feb 22, 2018 · 2 comments

Comments

@reb33
Copy link

reb33 commented Feb 22, 2018

Данное сокращение листинга ошибки применяется только в одном методе executeMethodByTitle во всем фреймворке, может есть смысл убрать его?

@MeSaNei
Copy link

MeSaNei commented Mar 8, 2018

@reb33 see #76

@reb33 reb33 closed this as completed Apr 5, 2018
@reb33 reb33 reopened this May 4, 2018
@reb33
Copy link
Author

reb33 commented May 4, 2018

Может вы вынесите строку
"throw new FactoryRuntimeException("Error while executing action '" + title + "' on " + method.getDeclaringClass().getSimpleName() + " . See the caused exception below", ExceptionUtils.getRootCause(e));"
в отдельный метод, чтобы его можно было бы переопределить?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants