All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.arjuna.mw.wsas.exceptions.WrongStateException Maven / Gradle / Ivy

The newest version!
/*
   Copyright The Narayana Authors
   SPDX-License-Identifier: Apache-2.0
 */



package com.arjuna.mw.wsas.exceptions;

/**
 * Thrown if the state of the activity is such that it disallows the
 * attempted operation. For example, the activity is committing and
 * a participant that has prepared attempts to resign.
 *
 * Do we want to remove this and replace it with IllegalStateException as
 * is done in the JTA?
 * 
 * @author Mark Little ([email protected])
 * @version $Id: WrongStateException.java,v 1.2 2003/04/04 14:59:51 nmcl Exp $
 * @since 1.0.
 */

public class WrongStateException extends WSASException
{

    public WrongStateException ()
    {
	super();
    }

    public WrongStateException (String s)
    {
	super(s);
    }

    public WrongStateException (String s, int errorcode)
    {
	super(s, errorcode);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy