Here are the examples of the java api com.vaadin.client.Console.warn() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : SockJSPushConnection.java
with MIT License
from mcollovati
with MIT License
from mcollovati
protected void onMessage(TransportMessageEvent response) {
String message = response.getResponseBody();
ValueMap json = MessageHandler.parseWrappedJson(message);
if (json == null) {
// Invalid string (not wrapped as expected)
getConnectionStateHandler().pushInvalidContent(this, message);
} else {
Console.log("Received push (" + getTransportType() + ") message: " + message);
if (!registry.getUILifecycle().isTerminated()) {
registry.getMessageHandler().handleMessage(json);
} else {
Console.warn("Received push (" + getTransportType() + ") message, but ui is already terminated: " + message);
}
}
}