wrapped difference component


there impression difference component where member throws component-specific exception. example, information opening classes pitch dataaccessexception.



in style, i mostly myself carrying locate rethrow member specific exception, since called methods delcared throws exception:



try {
int foo = foo();
(foo != expectedvalue) {
pitch new componentexception("bad outcome foo(): " + foo);
}
bar();
}
catch (componentexception e) {
pitch e;
}
catch (exception e) {
pitch new componentexception(e);
}


do yourself doing same? ugly?



this doubt outcome style, nonetheless something within constraints style.



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members