Annotation of OpenXM/src/OpenMath/ORG/openxm/tam/CMO_ERROR2.java, Revision 1.1
1.1 ! tam 1: /**
! 2: * $OpenXM$
! 3: */
! 4: package ORG.openxm.tam;
! 5:
! 6: import java.io.*;
! 7:
! 8: /**
! 9: * CMO $B7A<0$N(B ERROR2 $B7?$rI=$7$^$9(B.
! 10: */
! 11: final public class CMO_ERROR2 extends CMO{
! 12: private CMO ob = new CMO_NULL();
! 13:
! 14: /**
! 15: * CMO src $B$rFbMF$H$9$k(B ERROR2 $B$r:n@.$7$^$9(B.
! 16: */
! 17: public CMO_ERROR2(CMO src){
! 18: ob = src;
! 19: }
! 20:
! 21: public int DISCRIMINATOR(){
! 22: return CMO.ERROR2;
! 23: }
! 24:
! 25: public void sendByObject(OpenXMconnection os)
! 26: throws IOException,MathcapViolation{
! 27: ob.write(os);
! 28: }
! 29:
! 30: static protected CMO receive(OpenXMconnection is) throws IOException{
! 31: return new CMO_ERROR2(CMO.receive(is));
! 32: }
! 33:
! 34: public String toCMOexpressionByObject(){
! 35: return "CMO_ERROR2,"+ ob.toCMOexpression();
! 36: }
! 37: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>