[ https://issues.apache.org/jira/browse/CLOUDSTACK-8855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15925556#comment-15925556 ]
ASF GitHub Bot commented on CLOUDSTACK-8855: -------------------------------------------- Github user bvbharatk commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/837#discussion_r106088915 --- Diff: engine/components-api/src/com/cloud/agent/AgentManager.java --- @@ -141,7 +142,7 @@ public void pullAgentOutMaintenance(long hostId); - boolean reconnect(long hostId); + void reconnect(long hostId) throws CloudRuntimeException, AgentUnavailableException; --- End diff -- @rafaelweingartner When i said they will have to catch i meant, When a method declaration has one or more exceptions defined using throws clause then the method-call must handle all the defined exceptions. If he wants to handle it he will have to catch it, if he dose not want to handle he can bubble it up. > Improve Error Message for Host Alert State > ------------------------------------------ > > Key: CLOUDSTACK-8855 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8855 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Affects Versions: 4.6.0 > Reporter: Bharat Kumar > Assignee: Bharat Kumar > -- This message was sent by Atlassian JIRA (v6.3.15#6346)