org.xcmis.client.gwt.rest
Class ServerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.xcmis.client.gwt.rest.ServerException
All Implemented Interfaces:
Serializable

public class ServerException
extends Exception

Created by The eXo Platform SAS .

Version:
$
Author:
Vitaliy Gulyy
See Also:
Serialized Form

Constructor Summary
ServerException(com.google.gwt.http.client.Response response)
           
ServerException(com.google.gwt.http.client.Response response, String msg)
           
 
Method Summary
 String getHeader(String key)
           
 int getHTTPStatus()
           
 String getMessage()
           
 String getStatusText()
           
 boolean isErrorMessageProvided()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerException

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

ServerException

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

getHTTPStatus

public int getHTTPStatus()

getStatusText

public String getStatusText()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getHeader

public String getHeader(String key)

isErrorMessageProvided

public boolean isErrorMessageProvided()


Copyright © 2010 eXo Platform SAS. All Rights Reserved.