summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/gwt
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/terminal/gwt')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ApplicationConnection.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java b/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java
index a452cfff2d..7a3a28495a 100644
--- a/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java
+++ b/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java
@@ -738,8 +738,7 @@ public class ApplicationConnection {
protected void startRequest() {
if (hasActiveRequest) {
- throw new IllegalStateException(
- "Trying to start a new request while another is active");
+ VConsole.error("Trying to start a new request while another is active");
}
hasActiveRequest = true;
requestStartTime = new Date();
@@ -766,7 +765,7 @@ public class ApplicationConnection {
protected void endRequest() {
if (!hasActiveRequest) {
- throw new IllegalStateException("No active request");
+ VConsole.error("No active request");
}
// After checkForPendingVariableBursts() there may be a new active
// request, so we must set hasActiveRequest to false before, not after,