[Mondrian] catching Error and ignoring

Richard Emberson remberson at edgedynamics.com
Mon Apr 23 15:03:06 EDT 2007


Just looking through the code and noticed that
RolapResult (about line 922) has the following:

                 } catch (ResultLimitExceededException e) {
                     // Do NOT ignore a ResultLimitExceededException!!!
                     throw e;

                 } catch (MondrianEvaluationException e) {
                     // ignore

                 } catch (Throwable e) {
                     Util.discard(e);
                 }


Catches a Throwable and ignores it. Now Errors are JVM
fatal conditions. Should we be ignoring Errors?

Richard


-- 
Quis custodiet ipsos custodes:
This email message is for the sole use of the intended recipient(s) and
may contain confidential information.  Any unauthorized review, use,
disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy all
copies of the original message.



More information about the Mondrian mailing list