001/*
002 * Copyright 2012-2016 UnboundID Corp.
003 *
004 * This program is free software; you can redistribute it and/or modify
005 * it under the terms of the GNU General Public License (GPLv2 only)
006 * or the terms of the GNU Lesser General Public License (LGPLv2.1 only)
007 * as published by the Free Software Foundation.
008 *
009 * This program is distributed in the hope that it will be useful,
010 * but WITHOUT ANY WARRANTY; without even the implied warranty of
011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
012 * GNU General Public License for more details.
013 *
014 * You should have received a copy of the GNU General Public License
015 * along with this program; if not, see <http://www.gnu.org/licenses>.
016 */
017
018package com.unboundid.scim.sdk;
019
020/**
021 * Signals a problem connecting to the service provider.
022 *
023 * This exception corresponds to special HTTP response code -1. This is not
024 * defined by any RFC but instead is used internally to express the case
025 * when the target server cannot be reached at all and thus there is no real
026 * response code.
027 */
028public class ConnectException extends SCIMException
029{
030  /**
031   * Create a new <code>ConnectException</code> from the provided
032   * information.
033   *
034   * @param errorMessage  The error message for this SCIM exception.
035   */
036  public ConnectException(final String errorMessage) {
037    super(-1, errorMessage);
038  }
039}