View Javadoc

1   package com.atlassian.asap.core.exception;
2   
3   import com.atlassian.asap.api.exception.CannotRetrieveKeyException;
4   import com.atlassian.asap.core.validator.ValidatedKeyId;
5   
6   import java.net.URI;
7   
8   /**
9    * Thrown when there was an error communicating with a public key repository.
10   *
11   * @see PublicKeyNotFoundException
12   */
13  public class PublicKeyRetrievalException extends CannotRetrieveKeyException {
14      public PublicKeyRetrievalException(String message, ValidatedKeyId keyId, URI keyUri) {
15          super(message, keyId, keyUri);
16      }
17  
18      public PublicKeyRetrievalException(String message, Throwable cause, ValidatedKeyId keyId, URI keyUri) {
19          super(message, cause, keyId, keyUri);
20      }
21  }