1   package com.atlassian.security.auth.trustedapps;
2   
3   import com.atlassian.security.auth.trustedapps.TransportErrorMessage.Code;
4   
5   /**
6    * Thrown when the Requested URL does not match the allowed request urls.
7    */
8   public class InvalidRequestUrlException extends InvalidRequestException
9   {
10      public InvalidRequestUrlException(String url)
11      {
12          super(new TransportErrorMessage(Code.BAD_URL, "Request not allowed to access URL: {0}",  url));
13      }
14  }