public class

RequestPermissionException

extends RequestException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.google.gwt.http.client.RequestException
         ↳ com.google.gwt.http.client.RequestPermissionException

Class Overview

Exception thrown when the RequestBuilder attempts to make a request to a URL which violates the Same-Origin Security Policy.

Required Module

Modules that use this class should inherit com.google.gwt.http.HTTP. {@gwt.include com/google/gwt/examples/http/InheritsExample.gwt.xml}

Summary

Public Constructors
RequestPermissionException(String url)
Constructs an instance of this class for the given URL.
Public Methods
String getURL()
Returns the URL which we cannot access.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public RequestPermissionException (String url)

Constructs an instance of this class for the given URL.

Parameters
url the URL which cannot be accessed

Public Methods

public String getURL ()

Returns the URL which we cannot access.

Returns
  • the URL which we cannot access.