Examples of CloudAdapterException


Examples of com.elastisys.scale.cloudadapers.api.CloudAdapterException

        checkNotNull(this.sender, "missing sender");
        checkNotNull(this.mailServer, "missing mailServer");
        validateSeverityFilter(getSeverityFilter());
        this.mailServer.validate();
      } catch (Exception e) {
        throw new CloudAdapterException(
            format("failed to validate alerts config: %s",
                e.getMessage()), e);
      }
    }
View Full Code Here

Examples of com.elastisys.scale.cloudadapers.api.CloudAdapterException

        SmtpServerSettings settings = new SmtpServerSettings(
            getSmtpHost(), getSmtpPort(), getAuthentication(),
            isUseSsl());
        settings.validate();
      } catch (Exception e) {
        throw new CloudAdapterException(format(
            "failed to validate mailServerSettings: %s",
            e.getMessage()), e);
      }
    }
View Full Code Here

Examples of com.elastisys.scale.cloudadapers.api.CloudAdapterException

      checkNotNull(this.awsSecretAccessKey, "missing awsSecretAccessKey");
      checkNotNull(this.region, "missing region");
    } catch (Exception e) {
      // no need to wrap further if already a config exception
      Throwables.propagateIfInstanceOf(e, CloudAdapterException.class);
      throw new CloudAdapterException(format(
          "failed to validate cloud client configuration: %s",
          e.getMessage()), e);
    }
  }
View Full Code Here

Examples of com.elastisys.scale.cloudadapers.api.CloudAdapterException

      checkNotNull(this.awsSecretAccessKey, "missing awsSecretAccessKey");
      checkNotNull(this.region, "missing region");
    } catch (Exception e) {
      // no need to wrap further if already a config exception
      Throwables.propagateIfInstanceOf(e, CloudAdapterException.class);
      throw new CloudAdapterException(format(
          "failed to validate cloud client configuration: %s",
          e.getMessage()), e);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.