001// 002// Name 003// $RCSfile: ResourceUnavailableException.java,v $ 004// 005// Copyright 006// Confidential Property of Kabira Technologies, Inc. 007// Copyright 2011 by Kabira Technologies, Inc. 008// All rights reserved. 009// 010// History 011// $Revision: 1.1.2.1 $ $Date: 2011/02/25 19:39:50 $ 012// 013package com.kabira.platform; 014 015/** 016 * resource unavailable exception. 017 * <p> 018 * This exception is thrown when a distribute request cannot be made due 019 * to high availability being disabled on a node. 020 */ 021public class ResourceUnavailableException extends RuntimeException 022{ 023 /** 024 * Serialization version. 025 */ 026 public final static long serialVersionUID = 1L; 027 028 /** 029 * Creates a ResourceUnavailableException exception. 030 */ 031 public ResourceUnavailableException() { } 032 033 /** 034 * Creates a ResourceUnavailableException exception. 035 * @param message String to include in the exception. 036 */ 037 public ResourceUnavailableException(String message) 038 { 039 super(message); 040 } 041 042 /** 043 * Creates a ResourceUnavailableException exception. 044 * @param message Message to include in the exception. 045 * @param cause The Throwable causing the exception. 046 */ 047 public ResourceUnavailableException(String message, Throwable cause) 048 { 049 super(message, cause); 050 } 051}