You should just throw a MessagingException in this case. This will make sure JAMES will not start at all.
Bye, Norman 2011/4/23 USHAKOV, Sergey <[email protected]>: > Hi all, > > what would be the right behavior for a matcher when an exception happens in > its static initializer block? > > Wrap the exception into a RuntimeException and re-throw? Do a > 'e.printStackTrace()'? Something else? > > Thanks and best regards, > Sergey > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
