You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2020/09/01 04:45:00 UTC

[jira] [Created] (FELIX-6324) Protect code against IllegalStateException and IllegalArgumentException

Carsten Ziegeler created FELIX-6324:
---------------------------------------

             Summary: Protect code against IllegalStateException and IllegalArgumentException
                 Key: FELIX-6324
                 URL: https://issues.apache.org/jira/browse/FELIX-6324
             Project: Felix
          Issue Type: Improvement
          Components: HTTP Service
            Reporter: Carsten Ziegeler
             Fix For: http.base-4.0.12, http.bridge-4.0.14, http.jetty-4.1.0


Several framework methods like for getting or ungetting a service, service objects, bundle might throw an IllegalStateException or IllegalArgumentException.
Currently, the code is not handling this - which might result in unexpected behaviour. The code needs to be protected against those exceptions and handle them correctly



--
This message was sent by Atlassian Jira
(v8.3.4#803005)