Author: adietish
Date: 2011-08-11 06:27:16 -0400 (Thu, 11 Aug 2011)
New Revision: 33806
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/IServerStatePoller.java
Log:
reformatted code to get better readability
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/IServerStatePoller.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/IServerStatePoller.java 2011-08-11
10:22:00 UTC (rev 33805)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/IServerStatePoller.java 2011-08-11
10:27:16 UTC (rev 33806)
@@ -57,7 +57,7 @@
*/
@Deprecated
public void beginPolling(IServer server, boolean expectedState, PollThread pt) throws
Exception;
- public void beginPolling(IServer server, boolean expectedState) throws Exception;
+ public void beginPolling(IServer server, boolean expectedState) throws PollingException;
public IServer getServer();
public boolean isComplete() throws PollingException, RequiresInfoException;
public boolean getState() throws PollingException, RequiresInfoException;
@@ -81,15 +81,29 @@
public int getTimeoutBehavior();
public class PollingException extends Exception {
+
private static final long serialVersionUID = -7830978018908940551L;
- public PollingException(String message) {super(message);}
+
+ public PollingException(String message) {
+ super(message);
+ }
}
public class RequiresInfoException extends Exception {
+
private static final long serialVersionUID = 5050044329807740335L;
private boolean checked = false;
- public RequiresInfoException(String msg) {super(msg);}
- public void setChecked() { this.checked = true; }
- public boolean getChecked() { return this.checked; }
+
+ public RequiresInfoException(String msg) {
+ super(msg);
+ }
+
+ public void setChecked() {
+ this.checked = true;
+ }
+
+ public boolean getChecked() {
+ return this.checked;
+ }
}
}