diff options
author | Audrius Meskauskas <audriusa@Bioinformatics.org> | 2005-10-14 20:01:32 +0000 |
---|---|---|
committer | Audrius Meskauskas <audriusa@Bioinformatics.org> | 2005-10-14 20:01:32 +0000 |
commit | 744fbb72bc3e053d54087605b1fa62539fdd6726 (patch) | |
tree | 1ddf74ca21bf259994236cde3c03a4e4a07eefc1 /org | |
parent | 1cd7fb21ed0504f98225bcc70f3359ec23a6f401 (diff) | |
download | classpath-744fbb72bc3e053d54087605b1fa62539fdd6726.tar.gz |
2005-10-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* org/omg/CORBA/PolicyErrorHelper.java,
org/omg/CORBA/PolicyErrorHolder.java,
org/omg/CORBA/UnknownUserExceptionHelper.java,
org/omg/CORBA/UnknownUserExceptionHolder.java,
org/omg/CORBA/WrongTransactionHelper.java,
org/omg/CORBA/WrongTransactionHolder.java: New files.
Diffstat (limited to 'org')
-rw-r--r-- | org/omg/CORBA/PolicyErrorHelper.java | 158 | ||||
-rw-r--r-- | org/omg/CORBA/PolicyErrorHolder.java | 103 | ||||
-rw-r--r-- | org/omg/CORBA/UnknownUserExceptionHelper.java | 157 | ||||
-rw-r--r-- | org/omg/CORBA/UnknownUserExceptionHolder.java | 103 | ||||
-rw-r--r-- | org/omg/CORBA/WrongTransactionHelper.java | 151 | ||||
-rw-r--r-- | org/omg/CORBA/WrongTransactionHolder.java | 103 |
6 files changed, 775 insertions, 0 deletions
diff --git a/org/omg/CORBA/PolicyErrorHelper.java b/org/omg/CORBA/PolicyErrorHelper.java new file mode 100644 index 000000000..49db768cd --- /dev/null +++ b/org/omg/CORBA/PolicyErrorHelper.java @@ -0,0 +1,158 @@ +/* PolicyErrorHelper.java -- + Copyright (C) 2005 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath 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 +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + + +package org.omg.CORBA; + +import gnu.CORBA.Minor; + +import org.omg.CORBA.Any; +import org.omg.CORBA.BAD_OPERATION; +import org.omg.CORBA.ORB; +import org.omg.CORBA.StructMember; +import org.omg.CORBA.TCKind; +import org.omg.CORBA.TypeCode; +import org.omg.CORBA.portable.InputStream; +import org.omg.CORBA.portable.OutputStream; + +/** +* The helper operations for the exception {@link PolicyError}. +* +* @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) +*/ +public abstract class PolicyErrorHelper +{ + /** + * The cached typecode value, computed only once. + */ + private static TypeCode typeCode; + + /** + * Create the PolicyError typecode. The typecode defines a structure, named + * "PolicyError", containing the {@link PolicyErrorCode} (alias int) field, + * named "reason". + */ + public static TypeCode type() + { + if (typeCode == null) + { + ORB orb = ORB.init(); + StructMember[] members = new StructMember[ 1 ]; + + TypeCode field; + + field = + orb.create_alias_tc("IDL:omg.org/CORBA/PolicyErrorCode:1.0", + "PolicyErrorCode", orb.get_primitive_tc(TCKind.tk_short) + ); + members [ 0 ] = new StructMember("reason", field, null); + typeCode = orb.create_exception_tc(id(), "PolicyError", members); + } + return typeCode; + } + + /** + * Insert the PolicyError into the given Any. + * This method uses the PolicyErrorHolder. + * + * @param any the Any to insert into. + * @param that the PolicyError to insert. + */ + public static void insert(Any any, PolicyError that) + { + any.insert_Streamable(new PolicyErrorHolder(that)); + } + + /** + * Extract the PolicyError from given Any. + * This method uses the PolicyErrorHolder. + * + * @throws BAD_OPERATION if the passed Any does not contain PolicyError. + */ + public static PolicyError extract(Any any) + { + try + { + return ((PolicyErrorHolder) any.extract_Streamable()).value; + } + catch (ClassCastException cex) + { + BAD_OPERATION bad = new BAD_OPERATION("PolicyError expected"); + bad.minor = Minor.Any; + bad.initCause(cex); + throw bad; + } + } + + /** + * Get the PolicyError repository id. + * + * @return "IDL:omg.org/CORBA/PolicyError:1.0", always. + */ + public static String id() + { + return "IDL:omg.org/CORBA/PolicyError:1.0"; + } + + /** + * Read the exception from the CDR intput stream. + * + * @param input a org.omg.CORBA.portable stream to read from. + */ + public static PolicyError read(InputStream input) + { + // Read the exception repository id. + String id = input.read_string(); + PolicyError value = new PolicyError(); + + value.reason = input.read_short(); + return value; + } + + /** + * Write the exception to the CDR output stream. + * + * @param output a org.omg.CORBA.portable stream stream to write into. + * @param value a value to write. + */ + public static void write(OutputStream output, PolicyError value) + { + // Write the exception repository id. + output.write_string(id()); + output.write_short(value.reason); + } +}
\ No newline at end of file diff --git a/org/omg/CORBA/PolicyErrorHolder.java b/org/omg/CORBA/PolicyErrorHolder.java new file mode 100644 index 000000000..8e2c9a8d3 --- /dev/null +++ b/org/omg/CORBA/PolicyErrorHolder.java @@ -0,0 +1,103 @@ +/* PolicyErrorHolder.java -- + Copyright (C) 2005 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath 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 +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + + +package org.omg.CORBA; + +import org.omg.CORBA.TypeCode; +import org.omg.CORBA.portable.InputStream; +import org.omg.CORBA.portable.OutputStream; +import org.omg.CORBA.portable.Streamable; + +/** +* A holder for the exception {@link PolicyError}. + +* @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) +*/ +public class PolicyErrorHolder implements Streamable +{ + /** + * The stored PolicyError value. + */ + public PolicyError value; + + /** + * Create the unitialised instance, leaving the value field + * with default <code>null</code> value. + */ + public PolicyErrorHolder() + { + } + + /** + * Create the initialised instance. + * @param initialValue the value that will be assigned to + * the <code>value</code> field. + */ + public PolicyErrorHolder(PolicyError initialValue) + { + value = initialValue; + } + + /** + * Fill in the {@link value} by data from the CDR stream. + * + * @param input the org.omg.CORBA.portable stream to read. + */ + public void _read(InputStream input) + { + value = PolicyErrorHelper.read(input); + } + + /** + * Write the stored value into the CDR stream. + * + * @param output the org.omg.CORBA.portable stream to write. + */ + public void _write(OutputStream output) + { + PolicyErrorHelper.write(output, value); + } + + /** + * Get the typecode of the PolicyError. + */ + public TypeCode _type() + { + return PolicyErrorHelper.type(); + } +}
\ No newline at end of file diff --git a/org/omg/CORBA/UnknownUserExceptionHelper.java b/org/omg/CORBA/UnknownUserExceptionHelper.java new file mode 100644 index 000000000..e93dc7403 --- /dev/null +++ b/org/omg/CORBA/UnknownUserExceptionHelper.java @@ -0,0 +1,157 @@ +/* UnknownUserExceptionHelper.java -- + Copyright (C) 2005 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath 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 +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + + +package org.omg.CORBA; + +import gnu.CORBA.Minor; + +import org.omg.CORBA.Any; +import org.omg.CORBA.BAD_OPERATION; +import org.omg.CORBA.ORB; +import org.omg.CORBA.StructMember; +import org.omg.CORBA.TCKind; +import org.omg.CORBA.TypeCode; +import org.omg.CORBA.portable.InputStream; +import org.omg.CORBA.portable.OutputStream; + +/** +* The helper operations for the exception {@link UnknownUserException}. +* +* @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) +*/ +public abstract class UnknownUserExceptionHelper +{ + /** + * The cached typecode value, computed only once. + */ + private static TypeCode typeCode; + + /** + * Create the UnknownUserException typecode (structure, + * named "UnknownUserException", containing a single field of + * type {@link Any}, named "except". + */ + public static TypeCode type() + { + if (typeCode == null) + { + ORB orb = ORB.init(); + StructMember[] members = new StructMember[ 1 ]; + + TypeCode field; + + field = orb.get_primitive_tc(TCKind.tk_any); + members [ 0 ] = new StructMember("except", field, null); + typeCode = + orb.create_exception_tc(id(), "UnknownUserException", members); + } + return typeCode; + } + + /** + * Insert the UnknownUserException into the given Any. + * This method uses the UnknownUserExceptionHolder. + * + * @param any the Any to insert into. + * @param that the UnknownUserException to insert. + */ + public static void insert(Any any, UnknownUserException that) + { + any.insert_Streamable(new UnknownUserExceptionHolder(that)); + } + + /** + * Extract the UnknownUserException from given Any. + * This method uses the UnknownUserExceptionHolder. + * + * @throws BAD_OPERATION if the passed Any does not contain + * UnknownUserException. + */ + public static UnknownUserException extract(Any any) + { + try + { + return ((UnknownUserExceptionHolder) any.extract_Streamable()).value; + } + catch (ClassCastException cex) + { + BAD_OPERATION bad = new BAD_OPERATION("UnknownUserException expected"); + bad.minor = Minor.Any; + bad.initCause(cex); + throw bad; + } + } + + /** + * Get the UnknownUserException repository id. + * + * @return "IDL:omg.org/CORBA/UnknownUserException:1.0", always. + */ + public static String id() + { + return "IDL:omg.org/CORBA/UnknownUserException:1.0"; + } + + /** + * Read the exception from the CDR intput stream. + * + * @param input a org.omg.CORBA.portable stream to read from. + */ + public static UnknownUserException read(InputStream input) + { + // Read the exception repository id. + String id = input.read_string(); + UnknownUserException value = new UnknownUserException(); + + value.except = input.read_any(); + return value; + } + + /** + * Write the exception to the CDR output stream. + * + * @param output a org.omg.CORBA.portable stream stream to write into. + * @param value a value to write. + */ + public static void write(OutputStream output, UnknownUserException value) + { + // Write the exception repository id. + output.write_string(id()); + output.write_any(value.except); + } +}
\ No newline at end of file diff --git a/org/omg/CORBA/UnknownUserExceptionHolder.java b/org/omg/CORBA/UnknownUserExceptionHolder.java new file mode 100644 index 000000000..d7b1ca006 --- /dev/null +++ b/org/omg/CORBA/UnknownUserExceptionHolder.java @@ -0,0 +1,103 @@ +/* UnknownUserExceptionHolder.java -- + Copyright (C) 2005 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath 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 +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + + +package org.omg.CORBA; + +import org.omg.CORBA.TypeCode; +import org.omg.CORBA.portable.InputStream; +import org.omg.CORBA.portable.OutputStream; +import org.omg.CORBA.portable.Streamable; + +/** +* A holder for the exception {@link UnknownUserException}. + +* @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) +*/ +public class UnknownUserExceptionHolder implements Streamable +{ + /** + * The stored UnknownUserException value. + */ + public UnknownUserException value; + + /** + * Create the unitialised instance, leaving the value field + * with default <code>null</code> value. + */ + public UnknownUserExceptionHolder() + { + } + + /** + * Create the initialised instance. + * @param initialValue the value that will be assigned to + * the <code>value</code> field. + */ + public UnknownUserExceptionHolder(UnknownUserException initialValue) + { + value = initialValue; + } + + /** + * Fill in the {@link value} by data from the CDR stream. + * + * @param input the org.omg.CORBA.portable stream to read. + */ + public void _read(InputStream input) + { + value = UnknownUserExceptionHelper.read(input); + } + + /** + * Write the stored value into the CDR stream. + * + * @param output the org.omg.CORBA.portable stream to write. + */ + public void _write(OutputStream output) + { + UnknownUserExceptionHelper.write(output, value); + } + + /** + * Get the typecode of the UnknownUserException. + */ + public TypeCode _type() + { + return UnknownUserExceptionHelper.type(); + } +}
\ No newline at end of file diff --git a/org/omg/CORBA/WrongTransactionHelper.java b/org/omg/CORBA/WrongTransactionHelper.java new file mode 100644 index 000000000..5bb5baff2 --- /dev/null +++ b/org/omg/CORBA/WrongTransactionHelper.java @@ -0,0 +1,151 @@ +/* WrongTransactionHelper.java -- + Copyright (C) 2005 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath 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 +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + + +package org.omg.CORBA; + +import gnu.CORBA.EmptyExceptionHolder; +import gnu.CORBA.Minor; + +import org.omg.CORBA.Any; +import org.omg.CORBA.BAD_OPERATION; +import org.omg.CORBA.ORB; +import org.omg.CORBA.StructMember; +import org.omg.CORBA.TCKind; +import org.omg.CORBA.TypeCode; +import org.omg.CORBA.portable.InputStream; +import org.omg.CORBA.portable.OutputStream; + +/** +* The helper operations for the exception {@link WrongTransaction}. +* +* @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) +*/ +public abstract class WrongTransactionHelper +{ + /** + * The cached typecode value, computed only once. + */ + private static TypeCode typeCode; + + /** + * Create the WrongTransaction typecode (structure, + * named "WrongTransaction"), no fields. + */ + public static TypeCode type() + { + if (typeCode == null) + { + ORB orb = ORB.init(); + StructMember[] members = new StructMember[ 0 ]; + typeCode = orb.create_exception_tc(id(), "WrongTransaction", members); + } + return typeCode; + } + + /* Every user exception with no user defined + fields can use EmptyExceptionHolder */ + + /** + * Insert the WrongTransaction into the given Any. + * + * @param any the Any to insert into. + * @param that the WrongTransaction to insert. + */ + public static void insert(Any any, WrongTransaction that) + { + any.insert_Streamable(new EmptyExceptionHolder(that, type())); + } + + /** + * Extract the WrongTransaction from given Any. + * + * @throws BAD_OPERATION if the passed Any does not contain WrongTransaction. + */ + public static WrongTransaction extract(Any any) + { + try + { + EmptyExceptionHolder h = + (EmptyExceptionHolder) any.extract_Streamable(); + return (WrongTransaction) h.value; + } + catch (ClassCastException cex) + { + BAD_OPERATION bad = new BAD_OPERATION("WrongTransaction expected"); + bad.minor = Minor.Any; + bad.initCause(cex); + throw bad; + } + } + + /** + * Get the WrongTransaction repository id. + * + * @return "IDL:omg.org/CORBA/WrongTransaction:1.0", always. + */ + public static String id() + { + return "IDL:omg.org/CORBA/WrongTransaction:1.0"; + } + + /** + * Read the exception from the CDR intput stream. + * + * @param input a org.omg.CORBA.portable stream to read from. + */ + public static WrongTransaction read(InputStream input) + { + // Read the exception repository id. + String id = input.read_string(); + WrongTransaction value = new WrongTransaction(id); + + return value; + } + + /** + * Write the exception to the CDR output stream. + * + * @param output a org.omg.CORBA.portable stream stream to write into. + * @param value a value to write. + */ + public static void write(OutputStream output, WrongTransaction value) + { + // Write the exception repository id. + output.write_string(id()); + } +}
\ No newline at end of file diff --git a/org/omg/CORBA/WrongTransactionHolder.java b/org/omg/CORBA/WrongTransactionHolder.java new file mode 100644 index 000000000..103724f81 --- /dev/null +++ b/org/omg/CORBA/WrongTransactionHolder.java @@ -0,0 +1,103 @@ +/* WrongTransactionHolder.java -- + Copyright (C) 2005 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath 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 +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + + +package org.omg.CORBA; + +import org.omg.CORBA.TypeCode; +import org.omg.CORBA.portable.InputStream; +import org.omg.CORBA.portable.OutputStream; +import org.omg.CORBA.portable.Streamable; + +/** + * A holder for the exception {@link WrongTransaction}. + * + * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) + */ +public class WrongTransactionHolder implements Streamable +{ + /** + * The stored WrongTransaction value. + */ + public WrongTransaction value; + + /** + * Create the unitialised instance, leaving the value field + * with default <code>null</code> value. + */ + public WrongTransactionHolder() + { + } + + /** + * Create the initialised instance. + * @param initialValue the value that will be assigned to + * the <code>value</code> field. + */ + public WrongTransactionHolder(WrongTransaction initialValue) + { + value = initialValue; + } + + /** + * Fill in the {@link value} by data from the CDR stream. + * + * @param input the org.omg.CORBA.portable stream to read. + */ + public void _read(InputStream input) + { + value = WrongTransactionHelper.read(input); + } + + /** + * Write the stored value into the CDR stream. + * + * @param output the org.omg.CORBA.portable stream to write. + */ + public void _write(OutputStream output) + { + WrongTransactionHelper.write(output, value); + } + + /** + * Get the typecode of the WrongTransaction. + */ + public TypeCode _type() + { + return WrongTransactionHelper.type(); + } +}
\ No newline at end of file |