Issue #4903 - catch Throwable instead of RuntimeException
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
c41560c7cd
commit
5c63b0ef78
|
@ -224,9 +224,11 @@ public class ServerContainer extends ClientContainer implements javax.websocket.
|
|||
|
||||
return metadata;
|
||||
}
|
||||
catch (RuntimeException e)
|
||||
catch (Throwable t)
|
||||
{
|
||||
throw new DeploymentException(e.getMessage(), e);
|
||||
if (t instanceof DeploymentException)
|
||||
throw t;
|
||||
throw new DeploymentException(t.getMessage(), t);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue