Am 29.07.2011 12:26, schrieb Nicolas Rodriguez:
> I would like to replace any use of the java Error class by our own
> exception, extending RuntimeException.
> Like this the signature of the methods will not change but with an error
> you are not getting any information, the message is not displayed
> when the stack trace is shown. It just tell that there as been and
> Exception (without message and without saying that it was a
> PropertyError or a LevelAndVersionError)
> The only thing we would have to do, I think is to make XMLerror extends
> RuntimeException instead or Error.
Could you please briefly summarize the difference between both
(RuntimeException and Error)?
> What do you think ??
> We could also make some of the jsbml specific errors extends directly
> SBMLException ?
> But I don't think we need to change the name of our specific errors
Yes, but maybe inheritance relationships. Should we include errors also
into our type hierarchy diagram?
Dr. Andreas Dräger
University of Tuebingen
Center for Bioinformatics Tuebingen (ZBIT)