Re: Checked Exceptions

2016-12-06 Thread Niclas Hedhman
Sounds good. On Tue, Dec 6, 2016 at 5:44 PM, Paul Merlin <paulmer...@apache.org> wrote: > Le 2016-12-05 13:04, Niclas Hedhman a écrit : > >> I am also "kind of" ok with removing the checked exceptions. But there are >> a couple of places where java.lang.Exce

Re: Checked Exceptions

2016-12-06 Thread Paul Merlin
Le 2016-12-05 13:04, Niclas Hedhman a écrit : I am also "kind of" ok with removing the checked exceptions. But there are a couple of places where java.lang.Exception is declared in the interface, as a convenience to the user implementing it. Unless really strong reasons, I think t

Re: Checked Exceptions

2016-12-05 Thread Niclas Hedhman
And about annotation of exception thrown for documentation purposes; No, Scala is Scala. In Java we can still declare the RuntimeExceptions being thrown. That is already present in many places. Difference is that the compiler can't check it (u, maybe that's why it is called Checked Exceptions

Re: Checked Exceptions

2016-12-05 Thread Niclas Hedhman
I am also "kind of" ok with removing the checked exceptions. But there are a couple of places where java.lang.Exception is declared in the interface, as a convenience to the user implementing it. Unless really strong reasons, I think that should remain, and perhaps even be extended w

Re: Checked Exceptions

2016-12-05 Thread Sandro Martini
-to-declare-scala-methods-throws-exceptions Bye 2016-12-05 9:47 GMT+01:00 Paul Merlin <paulmer...@apache.org>: > Gang, > > We have some checked exceptions in core: > > - AssemblyException > - ActivationException > - PassivationException > - BindingException