In message <[EMAIL PROTECTED]
>Why MalformedPatternException doesn't extend from RuntimeException?

So that malformed dynamically generated regular expressions--such as
those entered by an application user or read from a file--that are passed
along to a pattern compiler--don't crash your application.  In such an
instance, a malformed expression is a non-fatal recoverable error.  If
you're using only hard-coded statically defined patterns, then this won't
be apparent immediately.  There is great disagreement about the utility
of checked exceptions, likely fueled by their profligate presence in the
Java core APIs.  I do not wish to rekindle that debate.

daniel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to