Ignore:
Timestamp:
2015-04-29T01:44:01+02:00 (9 years ago)
Author:
Don-vip
Message:

fix squid:RedundantThrowsDeclarationCheck + consistent Javadoc for exceptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/auth/CredentialsAgent.java

    r6830 r8291  
    2828     * @param host the hostname for these credentials
    2929     * @return the credentials
    30      * @throws CredentialsAgentException thrown if a problem occurs in a implementation of this interface
     30     * @throws CredentialsAgentException if a problem occurs in a implementation of this interface
    3131     */
    3232    PasswordAuthentication lookup(RequestorType requestorType, String host) throws CredentialsAgentException;
     
    3939     * @param host the hostname for these credentials
    4040     * @param credentials the credentials
    41      * @throws CredentialsAgentException thrown if a problem occurs in a implementation of this interface
     41     * @throws CredentialsAgentException if a problem occurs in a implementation of this interface
    4242     */
    4343    void store(RequestorType requestorType, String host, PasswordAuthentication credentials) throws CredentialsAgentException;
     
    5050     * @param noSuccessWithLastResponse true, if the last request with the supplied credentials failed; false otherwise.
    5151     * If true, implementations of this interface are advised to prompt the user for new credentials.
    52      * @throws CredentialsAgentException thrown if a problem occurs in a implementation of this interface
     52     * @throws CredentialsAgentException if a problem occurs in a implementation of this interface
    5353
    5454     */
     
    6060     *
    6161     * @return the current OAuth Access Token to access the OSM server.
    62      * @throws CredentialsAgentException thrown if something goes wrong
     62     * @throws CredentialsAgentException if something goes wrong
    6363     */
    6464    OAuthToken lookupOAuthAccessToken() throws CredentialsAgentException;
     
    6868     *
    6969     * @param accessToken the access Token. null, to remove the Access Token.
    70      * @throws CredentialsAgentException thrown if something goes wrong
     70     * @throws CredentialsAgentException if something goes wrong
    7171     */
    7272    void storeOAuthAccessToken(OAuthToken accessToken) throws CredentialsAgentException;
Note: See TracChangeset for help on using the changeset viewer.