001//
002// Name
003//  $RCSfile: NotActiveNode.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 00:48:44 $
012//
013package com.kabira.platform.highavailability;
014
015/**
016 * Exception thrown when an operation is attempted on a partition, the
017 * Partition State is Active, and the node calling the operation is not
018 * the active node.
019 */
020public class NotActiveNode extends java.lang.Error
021{
022    /**
023     *  Serialization version.
024     */
025    public final static long serialVersionUID = 1L;
026
027    /**
028     *  Creates a NotActiveNode exception.
029     */
030    public NotActiveNode() { }
031
032    /**
033     *  Creates a NotActiveNode exception.
034     *  @param  message String to include in the exception.
035     */
036    public NotActiveNode(String message)
037    {
038        super(message);
039    }
040}