Catching plain Exception is not a good thing ;)

  try {
            job.execute(service);
        } catch (Exception e) {
            log.error("Job " + job.toString() + " execution failed: " + 
e.getMessage());
            throw new RuntimeException(e);
        }

Why catch the exception at all if its type is unknown and its just 
forwarded as RuntimeException?

- Jalmari

Michael Klishin kirjoitti:
> Please try again now.
>
> On 27/12/06, sfort <[EMAIL PROTECTED]> wrote:
>   
>> I've got the same problem!  Any ideas?
>>     

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to