001    /***** Copyright (c) 1999 Object Management Group. Unlimited rights to 
002           duplicate and use this code are hereby granted provided that this 
003           copyright notice is included.
004    *****/
005    
006    package org.omg.CORBA;
007    
008    public final class WrongTransaction extends org.omg.CORBA.UserException {
009    
010        public WrongTransaction() {
011            super(WrongTransactionHelper.id());
012        }
013    
014        public WrongTransaction(String reason) { // full constructor
015            super(WrongTransactionHelper.id()+" "+reason);
016        }
017    }