|
From: <pe...@us...> - 2003-09-26 23:53:25
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/receiver
In directory sc8-pr-cvs1:/tmp/cvs-serv6861/src/java/org/neuclear/receiver
Modified Files:
Receiver.java
Added Files:
UnsupportedTransaction.java
Log Message:
Changes mainly in receiver and related fun.
First real neuclear stuff in the payment package. Added TransferContract and PaymentReceiver.
--- NEW FILE: UnsupportedTransaction.java ---
package org.neuclear.receiver;
import org.neuclear.id.SignedNamedObject;
import org.neudist.utils.NeudistException;
/*
NeuClear Distributed Transaction Clearing Platform
(C) 2003 Pelle Braendgaard
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
$Id: UnsupportedTransaction.java,v 1.1 2003/09/26 23:53:10 pelle Exp $
$Log: UnsupportedTransaction.java,v $
Revision 1.1 2003/09/26 23:53:10 pelle
Changes mainly in receiver and related fun.
First real neuclear stuff in the payment package. Added TransferContract and PaymentReceiver.
*/
/**
*
* User: pelleb
* Date: Sep 26, 2003
* Time: 1:48:58 PM
*/
public class UnsupportedTransaction extends NeudistException {
/**
*
* @param obj
*/
public UnsupportedTransaction(SignedNamedObject obj) {
super("NeuClear Transaction not Supported by this Receiver: " + obj.getClass().getName());
}
}
Index: Receiver.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/receiver/Receiver.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Receiver.java 24 Sep 2003 23:56:48 -0000 1.4
--- Receiver.java 26 Sep 2003 23:53:10 -0000 1.5
***************
*** 9,12 ****
--- 9,16 ----
* $Id$
* $Log$
+ * Revision 1.5 2003/09/26 23:53:10 pelle
+ * Changes mainly in receiver and related fun.
+ * First real neuclear stuff in the payment package. Added TransferContract and PaymentReceiver.
+ *
* Revision 1.4 2003/09/24 23:56:48 pelle
* Refactoring nearly done. New model for creating signed objects.
***************
*** 42,48 ****
*/
- import org.neuclear.id.InvalidIdentityException;
import org.neuclear.id.SignedNamedObject;
- import org.neudist.utils.NeudistException;
/**
--- 46,50 ----
***************
*** 57,63 ****
* you can not trust it.
* @param obj
! * @throws InvalidIdentityException
! * @throws NeudistException
*/
! void receive(SignedNamedObject obj) throws InvalidIdentityException, NeudistException;
}
--- 59,64 ----
* you can not trust it.
* @param obj
! * @throws UnsupportedTransaction
*/
! void receive(SignedNamedObject obj) throws UnsupportedTransaction;
}
|