/*
   Copyright The Narayana Authors
   SPDX short identifier: Apache-2.0
 */



package com.arjuna.wst.tests;

import com.arjuna.wst11.BAParticipantManager;
import com.arjuna.wst.SystemException;
import com.arjuna.wst.WrongStateException;
import com.arjuna.wst.UnknownTransactionException;

import javax.xml.namespace.QName;

public class TestSystemExceptionBAPMParticipant implements BAParticipantManager
{
    public void completed ()
        throws WrongStateException, SystemException
    {
        throw new SystemException();
    }

    /**
     * Cannot complete.
     */

    public void cannotComplete() throws WrongStateException, UnknownTransactionException, SystemException {
        throw new SystemException();
    }

    /**
     * Fault.
     */

    public void fail(QName exceptionIdentifier) throws SystemException {
        throw new SystemException();
    }

    public void exit ()
        throws WrongStateException, SystemException
    {
        throw new SystemException();
    }

    public void unknown ()
        throws SystemException
    {
        throw new SystemException();
    }

    public void error ()
        throws SystemException
    {
        throw new SystemException();
    }
}