Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.gwt.runtime.client.http
Class ServerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.nuxeo.ecm.gwt.runtime.client.http.ServerException
All Implemented Interfaces:
java.io.Serializable

public class ServerException
extends java.lang.Exception

When a remote call returns an error HTTP code.

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Constructor Summary
ServerException(com.google.gwt.http.client.Response response)
           
 
Method Summary
 com.google.gwt.http.client.Response getResponse()
          Gets the server response.
 int getStatusCode()
          Gets the status code of the server response.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerException

public ServerException(com.google.gwt.http.client.Response response)
Method Detail

getStatusCode

public int getStatusCode()
Gets the status code of the server response.


getResponse

public com.google.gwt.http.client.Response getResponse()
Gets the server response.

Returns:
the response.

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.