Package java.net

Examples of java.net.ConnectException


   * @exception ConnectException  If the connection fails.
   * @exception AdminException  If the request fails.
   */
  public static void removeDomain(String domain) throws ConnectException, AdminException {
    if (wrapper == null)
      throw new ConnectException("Administrator not connected.");

    wrapper.removeDomain(domain);
  }
View Full Code Here


   * @exception ConnectException  If the connection fails.
   * @exception AdminException  If the request fails.
   */
  public static String getConfiguration() throws ConnectException, AdminException {
    if (wrapper == null)
      throw new ConnectException("Administrator not connected.");

    return wrapper.getConfiguration();
  }
View Full Code Here

   * @exception ConnectException  If the connection fails.
   * @exception AdminException  If the request fails.
   */
  public static Hashtable getStatistics(int serverId) throws ConnectException, AdminException {
    if (wrapper == null)
      throw new ConnectException("Administrator not connected.");

    return wrapper.getStatistics(serverId);
  }
View Full Code Here

   * @exception ConnectException  If the connection fails.
   * @exception AdminException  If the request fails.
   */
  public static Queue getDefaultDMQ(int serverId) throws ConnectException, AdminException {
    if (wrapper == null)
      throw new ConnectException("Administrator not connected.");

    return wrapper.getDefaultDMQ(serverId);
  }
View Full Code Here

   * @exception ConnectException  If the connection fails.
   * @exception AdminException  If the request fails.
   */
  public static void setDefaultDMQ(int serverId, Queue dmq) throws ConnectException, AdminException {
    if (wrapper == null)
      throw new ConnectException("Administrator not connected.");

    wrapper.setDefaultDMQ(serverId, dmq);
  }
View Full Code Here

   * @exception ConnectException  If the connection fails.
   * @exception AdminException  If the request fails.
   */
  public static String getDefaultDMQId(int serverId) throws ConnectException, AdminException {
    if (wrapper == null)
      throw new ConnectException("Administrator not connected.");

    return wrapper.getDefaultDMQId(serverId);
  }
View Full Code Here

   * @exception ConnectException  If the connection fails.
   * @exception AdminException  If the request fails.
   */
  public static void setDefaultDMQId(int serverId, String dmqId) throws ConnectException, AdminException {
    if (wrapper == null)
      throw new ConnectException("Administrator not connected.");

    wrapper.setDefaultDMQId(serverId, dmqId);
  }
View Full Code Here

   * @exception ConnectException  If the connection fails.
   * @exception AdminException  If the request fails.
   */
  public static int getDefaultThreshold(int serverId) throws ConnectException, AdminException {
    if (wrapper == null)
      throw new ConnectException("Administrator not connected.");

    return wrapper.getDefaultThreshold(serverId);
  }
View Full Code Here

   * @exception ConnectException  If the connection fails.
   * @exception AdminException  If the request fails.
   */
  public static void setDefaultThreshold(int serverId, int threshold) throws ConnectException, AdminException {
    if (wrapper == null)
      throw new ConnectException("Administrator not connected.");

    wrapper.setDefaultThreshold(serverId, threshold);
  }
View Full Code Here

   *
   * @deprecated No longer supported next to Joram 5.2
   */
  public static List getServersIds(String domain) throws ConnectException, AdminException {
    if (wrapper == null)
      throw new ConnectException("Administrator not connected.");

    int[] serverIds = wrapper.getServersIds(domain);
   
    Vector res = new Vector();
    for (int i = 0; i < serverIds.length; i++) {
View Full Code Here

TOP

Related Classes of java.net.ConnectException

Copyright © 2018 www.massapicom. 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.