
system.Convert Maven / Gradle / Ivy
/*
* MIT License
*
* Copyright (c) 2023 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
/**************************************************************************************
*
* This code was generated from a template using JCOReflector
*
* Manual changes to this file may cause unexpected behavior in your application.
* Manual changes to this file will be overwritten if the code is regenerated.
*
*************************************************************************************/
package system;
import org.mases.jcobridge.*;
import org.mases.jcobridge.netreflection.*;
import java.util.ArrayList;
// Import section
import system.SByte;
import system.Single;
import system.DateTime;
import system.Decimal;
import system.IFormatProvider;
import system.IFormatProviderImplementation;
import system.UInt16;
import system.UInt32;
import system.UInt64;
import system.Base64FormattingOptions;
import system.TypeCode;
/**
* The base .NET class managing System.Convert, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e.
*
*
* .NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Convert
*
*
* Powered by JCOBridge: more info at https://www.jcobridge.com
*/
public class Convert extends NetObject {
/**
* Fully assembly qualified name: System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
*/
public static final String assemblyFullName = "System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e";
/**
* Assembly name: System.Private.CoreLib
*/
public static final String assemblyShortName = "System.Private.CoreLib";
/**
* Qualified class name: System.Convert
*/
public static final String className = "System.Convert";
static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
/**
* The type managed from JCOBridge. See {@link JCType}
*/
public static JCType classType = createType();
static JCEnum enumInstance = null;
JCObject classInstance = null;
static JCType createType() {
try {
String classToCreate = className + ", "
+ (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
if (JCOReflector.getDebug())
JCOReflector.writeLog("Creating %s", classToCreate);
JCType typeCreated = bridge.GetType(classToCreate);
if (JCOReflector.getDebug())
JCOReflector.writeLog("Created: %s",
(typeCreated != null) ? typeCreated.toString() : "Returned null value");
return typeCreated;
} catch (JCException e) {
JCOReflector.writeLog(e);
return null;
}
}
void addReference(String ref) throws Throwable {
try {
bridge.AddReference(ref);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
/**
* Internal constructor. Use with caution
*/
public Convert(java.lang.Object instance) throws Throwable {
super(instance);
if (instance instanceof JCObject) {
classInstance = (JCObject) instance;
} else
throw new Exception("Cannot manage object, it is not a JCObject");
}
public String getJCOAssemblyName() {
return assemblyFullName;
}
public String getJCOClassName() {
return className;
}
public String getJCOObjectName() {
return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
}
public java.lang.Object getJCOInstance() {
return classInstance;
}
public void setJCOInstance(JCObject instance) {
classInstance = instance;
super.setJCOInstance(classInstance);
}
public JCType getJCOType() {
return classType;
}
/**
* Try to cast the {@link IJCOBridgeReflected} instance into {@link Convert}, a cast assert is made to check if types are compatible.
* @param from {@link IJCOBridgeReflected} instance to be casted
* @return {@link Convert} instance
* @throws java.lang.Throwable in case of error during cast operation
*/
public static Convert cast(IJCOBridgeReflected from) throws Throwable {
NetType.AssertCast(classType, from);
return new Convert(from.getJCOInstance());
}
// Constructors section
public Convert() throws Throwable {
}
// Methods section
public static boolean IsDBNull(NetObject value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("IsDBNull", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean ToBoolean(boolean value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("ToBoolean", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean ToBoolean(byte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("ToBoolean", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean ToBoolean(char value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("ToBoolean", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean ToBoolean(double value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("ToBoolean", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean ToBoolean(short value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("ToBoolean", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean ToBoolean(int value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("ToBoolean", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean ToBoolean(long value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("ToBoolean", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean ToBoolean(SByte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("ToBoolean", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean ToBoolean(Single value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("ToBoolean", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean ToBoolean(DateTime value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("ToBoolean", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean ToBoolean(Decimal value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("ToBoolean", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean ToBoolean(NetObject value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("ToBoolean", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean ToBoolean(NetObject value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("ToBoolean", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean ToBoolean(java.lang.String value, IFormatProvider provider) throws Throwable, system.ArgumentException, system.PlatformNotSupportedException, system.NotSupportedException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.FormatException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("ToBoolean", value, provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean ToBoolean(java.lang.String value) throws Throwable, system.ArgumentException, system.PlatformNotSupportedException, system.NotSupportedException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.FormatException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("ToBoolean", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean ToBoolean(UInt16 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("ToBoolean", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean ToBoolean(UInt32 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("ToBoolean", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean ToBoolean(UInt64 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("ToBoolean", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte ToByte(boolean value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (byte)classType.Invoke("ToByte", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte ToByte(byte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (byte)classType.Invoke("ToByte", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte ToByte(char value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (byte)classType.Invoke("ToByte", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte ToByte(double value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (byte)classType.Invoke("ToByte", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte ToByte(short value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (byte)classType.Invoke("ToByte", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte ToByte(int value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (byte)classType.Invoke("ToByte", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte ToByte(long value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (byte)classType.Invoke("ToByte", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte ToByte(SByte value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (byte)classType.Invoke("ToByte", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte ToByte(Single value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (byte)classType.Invoke("ToByte", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte ToByte(DateTime value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (byte)classType.Invoke("ToByte", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte ToByte(Decimal value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (byte)classType.Invoke("ToByte", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte ToByte(NetObject value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (byte)classType.Invoke("ToByte", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte ToByte(NetObject value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (byte)classType.Invoke("ToByte", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte ToByte(java.lang.String value, int fromBase) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.NotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.RankException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.FormatException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (byte)classType.Invoke("ToByte", value, fromBase);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte ToByte(java.lang.String value, IFormatProvider provider) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (byte)classType.Invoke("ToByte", value, provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte ToByte(java.lang.String value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.globalization.CultureNotFoundException, system.TypeInitializationException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (byte)classType.Invoke("ToByte", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte ToByte(UInt16 value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (byte)classType.Invoke("ToByte", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte ToByte(UInt32 value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (byte)classType.Invoke("ToByte", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte ToByte(UInt64 value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (byte)classType.Invoke("ToByte", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte[] FromBase64CharArray(char[] inArray, int offset, int length) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.FormatException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
ArrayList resultingArrayList = new ArrayList();
JCObject resultingObjects = (JCObject)classType.Invoke("FromBase64CharArray", inArray, offset, length);
for (java.lang.Object resultingObject : resultingObjects) {
resultingArrayList.add(resultingObject);
}
byte[] resultingArray = new byte[resultingArrayList.size()];
for(int indexFromBase64CharArray = 0; indexFromBase64CharArray < resultingArrayList.size(); indexFromBase64CharArray++ ) {
resultingArray[indexFromBase64CharArray] = (byte)resultingArrayList.get(indexFromBase64CharArray);
}
return resultingArray;
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte[] FromBase64CharArray(JCORefOut dupParam0, int dupParam1, int dupParam2) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.FormatException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
ArrayList resultingArrayList = new ArrayList();
JCObject resultingObjects = (JCObject)classType.Invoke("FromBase64CharArray", dupParam0.getJCRefOut(), dupParam1, dupParam2);
for (java.lang.Object resultingObject : resultingObjects) {
resultingArrayList.add(resultingObject);
}
byte[] resultingArray = new byte[resultingArrayList.size()];
for(int indexFromBase64CharArray = 0; indexFromBase64CharArray < resultingArrayList.size(); indexFromBase64CharArray++ ) {
resultingArray[indexFromBase64CharArray] = (byte)resultingArrayList.get(indexFromBase64CharArray);
}
return resultingArray;
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte[] FromBase64String(java.lang.String s) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ArgumentNullException, system.ObjectDisposedException, system.RankException, system.FormatException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
ArrayList resultingArrayList = new ArrayList();
JCObject resultingObjects = (JCObject)classType.Invoke("FromBase64String", s);
for (java.lang.Object resultingObject : resultingObjects) {
resultingArrayList.add(resultingObject);
}
byte[] resultingArray = new byte[resultingArrayList.size()];
for(int indexFromBase64String = 0; indexFromBase64String < resultingArrayList.size(); indexFromBase64String++ ) {
resultingArray[indexFromBase64String] = (byte)resultingArrayList.get(indexFromBase64String);
}
return resultingArray;
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static byte[] FromHexString(java.lang.String s) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ArgumentNullException, system.ObjectDisposedException, system.RankException, system.FormatException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
ArrayList resultingArrayList = new ArrayList();
JCObject resultingObjects = (JCObject)classType.Invoke("FromHexString", s);
for (java.lang.Object resultingObject : resultingObjects) {
resultingArrayList.add(resultingObject);
}
byte[] resultingArray = new byte[resultingArrayList.size()];
for(int indexFromHexString = 0; indexFromHexString < resultingArrayList.size(); indexFromHexString++ ) {
resultingArray[indexFromHexString] = (byte)resultingArrayList.get(indexFromHexString);
}
return resultingArray;
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static char ToChar(boolean value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (char)classType.Invoke("ToChar", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static char ToChar(byte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (char)classType.Invoke("ToChar", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static char ToChar(char value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (char)classType.Invoke("ToChar", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static char ToChar(double value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (char)classType.Invoke("ToChar", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static char ToChar(short value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (char)classType.Invoke("ToChar", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static char ToChar(int value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (char)classType.Invoke("ToChar", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static char ToChar(long value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (char)classType.Invoke("ToChar", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static char ToChar(SByte value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (char)classType.Invoke("ToChar", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static char ToChar(Single value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (char)classType.Invoke("ToChar", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static char ToChar(DateTime value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (char)classType.Invoke("ToChar", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static char ToChar(Decimal value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (char)classType.Invoke("ToChar", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static char ToChar(NetObject value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (char)classType.Invoke("ToChar", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static char ToChar(NetObject value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (char)classType.Invoke("ToChar", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static char ToChar(java.lang.String value, IFormatProvider provider) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.FormatException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (char)classType.Invoke("ToChar", value, provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static char ToChar(java.lang.String value) throws Throwable, system.ArgumentException, system.PlatformNotSupportedException, system.NotSupportedException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.FormatException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (char)classType.Invoke("ToChar", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static char ToChar(UInt16 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (char)classType.Invoke("ToChar", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static char ToChar(UInt32 value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (char)classType.Invoke("ToChar", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static char ToChar(UInt64 value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (char)classType.Invoke("ToChar", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static double ToDouble(boolean value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (double)classType.Invoke("ToDouble", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static double ToDouble(byte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (double)classType.Invoke("ToDouble", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static double ToDouble(char value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (double)classType.Invoke("ToDouble", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static double ToDouble(double value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (double)classType.Invoke("ToDouble", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static double ToDouble(short value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (double)classType.Invoke("ToDouble", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static double ToDouble(int value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (double)classType.Invoke("ToDouble", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static double ToDouble(long value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (double)classType.Invoke("ToDouble", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static double ToDouble(SByte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (double)classType.Invoke("ToDouble", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static double ToDouble(Single value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (double)classType.Invoke("ToDouble", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static double ToDouble(DateTime value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (double)classType.Invoke("ToDouble", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static double ToDouble(Decimal value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (double)classType.Invoke("ToDouble", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static double ToDouble(NetObject value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (double)classType.Invoke("ToDouble", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static double ToDouble(NetObject value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (double)classType.Invoke("ToDouble", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static double ToDouble(java.lang.String value, IFormatProvider provider) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (double)classType.Invoke("ToDouble", value, provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static double ToDouble(java.lang.String value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.globalization.CultureNotFoundException, system.TypeInitializationException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (double)classType.Invoke("ToDouble", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static double ToDouble(UInt16 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (double)classType.Invoke("ToDouble", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static double ToDouble(UInt32 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (double)classType.Invoke("ToDouble", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static double ToDouble(UInt64 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (double)classType.Invoke("ToDouble", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static short ToInt16(boolean value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (short)classType.Invoke("ToInt16", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static short ToInt16(byte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (short)classType.Invoke("ToInt16", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static short ToInt16(char value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (short)classType.Invoke("ToInt16", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static short ToInt16(double value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (short)classType.Invoke("ToInt16", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static short ToInt16(short value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (short)classType.Invoke("ToInt16", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static short ToInt16(int value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (short)classType.Invoke("ToInt16", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static short ToInt16(long value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (short)classType.Invoke("ToInt16", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static short ToInt16(SByte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (short)classType.Invoke("ToInt16", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static short ToInt16(Single value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (short)classType.Invoke("ToInt16", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static short ToInt16(DateTime value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (short)classType.Invoke("ToInt16", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static short ToInt16(Decimal value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (short)classType.Invoke("ToInt16", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static short ToInt16(NetObject value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (short)classType.Invoke("ToInt16", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static short ToInt16(NetObject value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (short)classType.Invoke("ToInt16", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static short ToInt16(java.lang.String value, int fromBase) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.NotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.RankException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.FormatException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (short)classType.Invoke("ToInt16", value, fromBase);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static short ToInt16(java.lang.String value, IFormatProvider provider) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (short)classType.Invoke("ToInt16", value, provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static short ToInt16(java.lang.String value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.globalization.CultureNotFoundException, system.TypeInitializationException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (short)classType.Invoke("ToInt16", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static short ToInt16(UInt16 value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (short)classType.Invoke("ToInt16", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static short ToInt16(UInt32 value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (short)classType.Invoke("ToInt16", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static short ToInt16(UInt64 value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (short)classType.Invoke("ToInt16", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToBase64CharArray(byte[] inArray, int offsetIn, int length, char[] outArray, int offsetOut, Base64FormattingOptions options) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.OutOfMemoryException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToBase64CharArray", inArray, offsetIn, length, outArray, offsetOut, options == null ? null : options.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToBase64CharArray(JCORefOut dupParam0, int dupParam1, int dupParam2, JCORefOut dupParam3, int dupParam4, Base64FormattingOptions dupParam5) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.OutOfMemoryException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToBase64CharArray", dupParam0.getJCRefOut(), dupParam1, dupParam2, dupParam3.getJCRefOut(), dupParam4, dupParam5 == null ? null : dupParam5.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToBase64CharArray(byte[] inArray, int offsetIn, int length, char[] outArray, int offsetOut) throws Throwable, system.ArgumentException, system.PlatformNotSupportedException, system.NotSupportedException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.OutOfMemoryException, system.ArrayTypeMismatchException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToBase64CharArray", inArray, offsetIn, length, outArray, offsetOut);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToBase64CharArray(JCORefOut dupParam0, int dupParam1, int dupParam2, JCORefOut dupParam3, int dupParam4) throws Throwable, system.ArgumentException, system.PlatformNotSupportedException, system.NotSupportedException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.OutOfMemoryException, system.ArrayTypeMismatchException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToBase64CharArray", dupParam0.getJCRefOut(), dupParam1, dupParam2, dupParam3.getJCRefOut(), dupParam4);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToInt32(boolean value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToInt32", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToInt32(byte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToInt32", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToInt32(char value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToInt32", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToInt32(double value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.NotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.RankException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToInt32", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToInt32(short value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToInt32", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToInt32(int value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToInt32", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToInt32(long value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToInt32", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToInt32(SByte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToInt32", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToInt32(Single value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToInt32", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToInt32(DateTime value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToInt32", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToInt32(Decimal value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToInt32", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToInt32(NetObject value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToInt32", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToInt32(NetObject value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToInt32", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToInt32(java.lang.String value, int fromBase) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.NotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.RankException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.FormatException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToInt32", value, fromBase);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToInt32(java.lang.String value, IFormatProvider provider) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToInt32", value, provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToInt32(java.lang.String value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.globalization.CultureNotFoundException, system.TypeInitializationException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToInt32", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToInt32(UInt16 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToInt32", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToInt32(UInt32 value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToInt32", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ToInt32(UInt64 value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ToInt32", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static long ToInt64(boolean value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (long)classType.Invoke("ToInt64", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static long ToInt64(byte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (long)classType.Invoke("ToInt64", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static long ToInt64(char value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (long)classType.Invoke("ToInt64", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static long ToInt64(double value) throws Throwable, system.PlatformNotSupportedException, system.NotSupportedException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (long)classType.Invoke("ToInt64", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static long ToInt64(short value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (long)classType.Invoke("ToInt64", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static long ToInt64(int value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (long)classType.Invoke("ToInt64", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static long ToInt64(long value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (long)classType.Invoke("ToInt64", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static long ToInt64(SByte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (long)classType.Invoke("ToInt64", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static long ToInt64(Single value) throws Throwable, system.PlatformNotSupportedException, system.NotSupportedException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (long)classType.Invoke("ToInt64", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static long ToInt64(DateTime value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (long)classType.Invoke("ToInt64", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static long ToInt64(Decimal value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (long)classType.Invoke("ToInt64", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static long ToInt64(NetObject value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (long)classType.Invoke("ToInt64", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static long ToInt64(NetObject value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (long)classType.Invoke("ToInt64", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static long ToInt64(java.lang.String value, int fromBase) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.NotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.RankException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.FormatException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (long)classType.Invoke("ToInt64", value, fromBase);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static long ToInt64(java.lang.String value, IFormatProvider provider) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (long)classType.Invoke("ToInt64", value, provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static long ToInt64(java.lang.String value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.globalization.CultureNotFoundException, system.TypeInitializationException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (long)classType.Invoke("ToInt64", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static long ToInt64(UInt16 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (long)classType.Invoke("ToInt64", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static long ToInt64(UInt32 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (long)classType.Invoke("ToInt64", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static long ToInt64(UInt64 value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (long)classType.Invoke("ToInt64", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static SByte ToSByte(boolean value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSByte = (JCObject)classType.Invoke("ToSByte", value);
return new SByte(objToSByte);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static SByte ToSByte(byte value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSByte = (JCObject)classType.Invoke("ToSByte", value);
return new SByte(objToSByte);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static SByte ToSByte(char value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSByte = (JCObject)classType.Invoke("ToSByte", value);
return new SByte(objToSByte);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static SByte ToSByte(double value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSByte = (JCObject)classType.Invoke("ToSByte", value);
return new SByte(objToSByte);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static SByte ToSByte(short value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSByte = (JCObject)classType.Invoke("ToSByte", value);
return new SByte(objToSByte);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static SByte ToSByte(int value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSByte = (JCObject)classType.Invoke("ToSByte", value);
return new SByte(objToSByte);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static SByte ToSByte(long value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSByte = (JCObject)classType.Invoke("ToSByte", value);
return new SByte(objToSByte);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static SByte ToSByte(SByte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSByte = (JCObject)classType.Invoke("ToSByte", value == null ? null : value.getJCOInstance());
return new SByte(objToSByte);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static SByte ToSByte(Single value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSByte = (JCObject)classType.Invoke("ToSByte", value == null ? null : value.getJCOInstance());
return new SByte(objToSByte);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static SByte ToSByte(DateTime value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSByte = (JCObject)classType.Invoke("ToSByte", value == null ? null : value.getJCOInstance());
return new SByte(objToSByte);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static SByte ToSByte(Decimal value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSByte = (JCObject)classType.Invoke("ToSByte", value == null ? null : value.getJCOInstance());
return new SByte(objToSByte);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static SByte ToSByte(NetObject value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSByte = (JCObject)classType.Invoke("ToSByte", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
return new SByte(objToSByte);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static SByte ToSByte(NetObject value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSByte = (JCObject)classType.Invoke("ToSByte", value == null ? null : value.getJCOInstance());
return new SByte(objToSByte);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static SByte ToSByte(java.lang.String value, int fromBase) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.NotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.RankException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.FormatException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSByte = (JCObject)classType.Invoke("ToSByte", value, fromBase);
return new SByte(objToSByte);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static SByte ToSByte(java.lang.String value, IFormatProvider provider) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSByte = (JCObject)classType.Invoke("ToSByte", value, provider == null ? null : provider.getJCOInstance());
return new SByte(objToSByte);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static SByte ToSByte(java.lang.String value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.globalization.CultureNotFoundException, system.TypeInitializationException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSByte = (JCObject)classType.Invoke("ToSByte", value);
return new SByte(objToSByte);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static SByte ToSByte(UInt16 value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSByte = (JCObject)classType.Invoke("ToSByte", value == null ? null : value.getJCOInstance());
return new SByte(objToSByte);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static SByte ToSByte(UInt32 value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSByte = (JCObject)classType.Invoke("ToSByte", value == null ? null : value.getJCOInstance());
return new SByte(objToSByte);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static SByte ToSByte(UInt64 value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSByte = (JCObject)classType.Invoke("ToSByte", value == null ? null : value.getJCOInstance());
return new SByte(objToSByte);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ToSingle(boolean value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSingle = (JCObject)classType.Invoke("ToSingle", value);
return new Single(objToSingle);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ToSingle(byte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSingle = (JCObject)classType.Invoke("ToSingle", value);
return new Single(objToSingle);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ToSingle(char value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSingle = (JCObject)classType.Invoke("ToSingle", value);
return new Single(objToSingle);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ToSingle(double value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSingle = (JCObject)classType.Invoke("ToSingle", value);
return new Single(objToSingle);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ToSingle(short value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSingle = (JCObject)classType.Invoke("ToSingle", value);
return new Single(objToSingle);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ToSingle(int value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSingle = (JCObject)classType.Invoke("ToSingle", value);
return new Single(objToSingle);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ToSingle(long value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSingle = (JCObject)classType.Invoke("ToSingle", value);
return new Single(objToSingle);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ToSingle(SByte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSingle = (JCObject)classType.Invoke("ToSingle", value == null ? null : value.getJCOInstance());
return new Single(objToSingle);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ToSingle(Single value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSingle = (JCObject)classType.Invoke("ToSingle", value == null ? null : value.getJCOInstance());
return new Single(objToSingle);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ToSingle(DateTime value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSingle = (JCObject)classType.Invoke("ToSingle", value == null ? null : value.getJCOInstance());
return new Single(objToSingle);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ToSingle(Decimal value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSingle = (JCObject)classType.Invoke("ToSingle", value == null ? null : value.getJCOInstance());
return new Single(objToSingle);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ToSingle(NetObject value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSingle = (JCObject)classType.Invoke("ToSingle", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
return new Single(objToSingle);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ToSingle(NetObject value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSingle = (JCObject)classType.Invoke("ToSingle", value == null ? null : value.getJCOInstance());
return new Single(objToSingle);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ToSingle(java.lang.String value, IFormatProvider provider) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSingle = (JCObject)classType.Invoke("ToSingle", value, provider == null ? null : provider.getJCOInstance());
return new Single(objToSingle);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ToSingle(java.lang.String value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.globalization.CultureNotFoundException, system.TypeInitializationException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSingle = (JCObject)classType.Invoke("ToSingle", value);
return new Single(objToSingle);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ToSingle(UInt16 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSingle = (JCObject)classType.Invoke("ToSingle", value == null ? null : value.getJCOInstance());
return new Single(objToSingle);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ToSingle(UInt32 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSingle = (JCObject)classType.Invoke("ToSingle", value == null ? null : value.getJCOInstance());
return new Single(objToSingle);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ToSingle(UInt64 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToSingle = (JCObject)classType.Invoke("ToSingle", value == null ? null : value.getJCOInstance());
return new Single(objToSingle);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static DateTime ToDateTime(boolean value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDateTime = (JCObject)classType.Invoke("ToDateTime", value);
return new DateTime(objToDateTime);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static DateTime ToDateTime(byte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDateTime = (JCObject)classType.Invoke("ToDateTime", value);
return new DateTime(objToDateTime);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static DateTime ToDateTime(char value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDateTime = (JCObject)classType.Invoke("ToDateTime", value);
return new DateTime(objToDateTime);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static DateTime ToDateTime(double value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDateTime = (JCObject)classType.Invoke("ToDateTime", value);
return new DateTime(objToDateTime);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static DateTime ToDateTime(short value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDateTime = (JCObject)classType.Invoke("ToDateTime", value);
return new DateTime(objToDateTime);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static DateTime ToDateTime(int value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDateTime = (JCObject)classType.Invoke("ToDateTime", value);
return new DateTime(objToDateTime);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static DateTime ToDateTime(long value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDateTime = (JCObject)classType.Invoke("ToDateTime", value);
return new DateTime(objToDateTime);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static DateTime ToDateTime(SByte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDateTime = (JCObject)classType.Invoke("ToDateTime", value == null ? null : value.getJCOInstance());
return new DateTime(objToDateTime);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static DateTime ToDateTime(Single value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDateTime = (JCObject)classType.Invoke("ToDateTime", value == null ? null : value.getJCOInstance());
return new DateTime(objToDateTime);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static DateTime ToDateTime(DateTime value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDateTime = (JCObject)classType.Invoke("ToDateTime", value == null ? null : value.getJCOInstance());
return new DateTime(objToDateTime);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static DateTime ToDateTime(Decimal value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDateTime = (JCObject)classType.Invoke("ToDateTime", value == null ? null : value.getJCOInstance());
return new DateTime(objToDateTime);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static DateTime ToDateTime(NetObject value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDateTime = (JCObject)classType.Invoke("ToDateTime", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
return new DateTime(objToDateTime);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static DateTime ToDateTime(NetObject value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDateTime = (JCObject)classType.Invoke("ToDateTime", value == null ? null : value.getJCOInstance());
return new DateTime(objToDateTime);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static DateTime ToDateTime(java.lang.String value, IFormatProvider provider) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.globalization.CultureNotFoundException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDateTime = (JCObject)classType.Invoke("ToDateTime", value, provider == null ? null : provider.getJCOInstance());
return new DateTime(objToDateTime);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static DateTime ToDateTime(java.lang.String value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.globalization.CultureNotFoundException, system.TypeInitializationException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDateTime = (JCObject)classType.Invoke("ToDateTime", value);
return new DateTime(objToDateTime);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static DateTime ToDateTime(UInt16 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDateTime = (JCObject)classType.Invoke("ToDateTime", value == null ? null : value.getJCOInstance());
return new DateTime(objToDateTime);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static DateTime ToDateTime(UInt32 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDateTime = (JCObject)classType.Invoke("ToDateTime", value == null ? null : value.getJCOInstance());
return new DateTime(objToDateTime);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static DateTime ToDateTime(UInt64 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDateTime = (JCObject)classType.Invoke("ToDateTime", value == null ? null : value.getJCOInstance());
return new DateTime(objToDateTime);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Decimal ToDecimal(boolean value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDecimal = (JCObject)classType.Invoke("ToDecimal", value);
return new Decimal(objToDecimal);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Decimal ToDecimal(byte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDecimal = (JCObject)classType.Invoke("ToDecimal", value);
return new Decimal(objToDecimal);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Decimal ToDecimal(char value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDecimal = (JCObject)classType.Invoke("ToDecimal", value);
return new Decimal(objToDecimal);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Decimal ToDecimal(double value) throws Throwable, system.NotSupportedException, system.ArgumentException, system.PlatformNotSupportedException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDecimal = (JCObject)classType.Invoke("ToDecimal", value);
return new Decimal(objToDecimal);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Decimal ToDecimal(short value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDecimal = (JCObject)classType.Invoke("ToDecimal", value);
return new Decimal(objToDecimal);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Decimal ToDecimal(int value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDecimal = (JCObject)classType.Invoke("ToDecimal", value);
return new Decimal(objToDecimal);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Decimal ToDecimal(long value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDecimal = (JCObject)classType.Invoke("ToDecimal", value);
return new Decimal(objToDecimal);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Decimal ToDecimal(SByte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDecimal = (JCObject)classType.Invoke("ToDecimal", value == null ? null : value.getJCOInstance());
return new Decimal(objToDecimal);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Decimal ToDecimal(Single value) throws Throwable, system.NotSupportedException, system.ArgumentException, system.PlatformNotSupportedException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDecimal = (JCObject)classType.Invoke("ToDecimal", value == null ? null : value.getJCOInstance());
return new Decimal(objToDecimal);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Decimal ToDecimal(DateTime value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDecimal = (JCObject)classType.Invoke("ToDecimal", value == null ? null : value.getJCOInstance());
return new Decimal(objToDecimal);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Decimal ToDecimal(Decimal value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDecimal = (JCObject)classType.Invoke("ToDecimal", value == null ? null : value.getJCOInstance());
return new Decimal(objToDecimal);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Decimal ToDecimal(NetObject value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDecimal = (JCObject)classType.Invoke("ToDecimal", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
return new Decimal(objToDecimal);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Decimal ToDecimal(NetObject value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDecimal = (JCObject)classType.Invoke("ToDecimal", value == null ? null : value.getJCOInstance());
return new Decimal(objToDecimal);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Decimal ToDecimal(java.lang.String value, IFormatProvider provider) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDecimal = (JCObject)classType.Invoke("ToDecimal", value, provider == null ? null : provider.getJCOInstance());
return new Decimal(objToDecimal);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Decimal ToDecimal(java.lang.String value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.globalization.CultureNotFoundException, system.TypeInitializationException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDecimal = (JCObject)classType.Invoke("ToDecimal", value);
return new Decimal(objToDecimal);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Decimal ToDecimal(UInt16 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDecimal = (JCObject)classType.Invoke("ToDecimal", value == null ? null : value.getJCOInstance());
return new Decimal(objToDecimal);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Decimal ToDecimal(UInt32 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDecimal = (JCObject)classType.Invoke("ToDecimal", value == null ? null : value.getJCOInstance());
return new Decimal(objToDecimal);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Decimal ToDecimal(UInt64 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToDecimal = (JCObject)classType.Invoke("ToDecimal", value == null ? null : value.getJCOInstance());
return new Decimal(objToDecimal);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static NetObject ChangeType(NetObject value, NetType conversionType, IFormatProvider provider) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.InvalidCastException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objChangeType = (JCObject)classType.Invoke("ChangeType", value == null ? null : value.getJCOInstance(), conversionType == null ? null : conversionType.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
return new NetObject(objChangeType);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static NetObject ChangeType(NetObject value, NetType conversionType) throws Throwable, system.ArgumentNullException, system.IndexOutOfRangeException, system.ArgumentException, system.globalization.CultureNotFoundException, system.PlatformNotSupportedException, system.InvalidCastException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objChangeType = (JCObject)classType.Invoke("ChangeType", value == null ? null : value.getJCOInstance(), conversionType == null ? null : conversionType.getJCOInstance());
return new NetObject(objChangeType);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static NetObject ChangeType(NetObject value, TypeCode typeCode, IFormatProvider provider) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.NotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.RankException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.InvalidCastException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objChangeType = (JCObject)classType.Invoke("ChangeType", value == null ? null : value.getJCOInstance(), typeCode == null ? null : typeCode.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
return new NetObject(objChangeType);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static NetObject ChangeType(NetObject value, TypeCode typeCode) throws Throwable, system.ArgumentNullException, system.IndexOutOfRangeException, system.ArgumentException, system.globalization.CultureNotFoundException, system.PlatformNotSupportedException, system.InvalidCastException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objChangeType = (JCObject)classType.Invoke("ChangeType", value == null ? null : value.getJCOInstance(), typeCode == null ? null : typeCode.getJCOInstance());
return new NetObject(objChangeType);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToBase64String(byte[] inArray, int offset, int length, Base64FormattingOptions options) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.OutOfMemoryException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToBase64String", inArray, offset, length, options == null ? null : options.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToBase64String(JCORefOut dupParam0, int dupParam1, int dupParam2, Base64FormattingOptions dupParam3) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.OutOfMemoryException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToBase64String", dupParam0.getJCRefOut(), dupParam1, dupParam2, dupParam3 == null ? null : dupParam3.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToBase64String(byte[] inArray, int offset, int length) throws Throwable, system.ArgumentException, system.PlatformNotSupportedException, system.NotSupportedException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.OutOfMemoryException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToBase64String", inArray, offset, length);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToBase64String(JCORefOut dupParam0, int dupParam1, int dupParam2) throws Throwable, system.ArgumentException, system.PlatformNotSupportedException, system.NotSupportedException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.OutOfMemoryException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToBase64String", dupParam0.getJCRefOut(), dupParam1, dupParam2);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToBase64String(byte[] inArray, Base64FormattingOptions options) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.OutOfMemoryException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToBase64String", inArray, options == null ? null : options.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToBase64String(JCORefOut dupParam0, Base64FormattingOptions dupParam1) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.OutOfMemoryException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToBase64String", dupParam0.getJCRefOut(), dupParam1 == null ? null : dupParam1.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToBase64String(byte[] inArray) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.OutOfMemoryException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToBase64String", (java.lang.Object)inArray);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToBase64String(JCORefOut dupParam0) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.OutOfMemoryException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToBase64String", (java.lang.Object)dupParam0.getJCRefOut());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToHexString(byte[] inArray, int offset, int length) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToHexString", inArray, offset, length);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToHexString(JCORefOut dupParam0, int dupParam1, int dupParam2) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToHexString", dupParam0.getJCRefOut(), dupParam1, dupParam2);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToHexString(byte[] inArray) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToHexString", (java.lang.Object)inArray);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToHexString(JCORefOut dupParam0) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToHexString", (java.lang.Object)dupParam0.getJCRefOut());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(boolean value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value, provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(boolean value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(byte value, int toBase) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.NotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.RankException, system.globalization.CultureNotFoundException, system.ObjectDisposedException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value, toBase);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(byte value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value, provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(byte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(char value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value, provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(char value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(double value, IFormatProvider provider) throws Throwable, system.PlatformNotSupportedException, system.ArgumentException, system.IndexOutOfRangeException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.FormatException, system.ArrayTypeMismatchException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value, provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(double value) throws Throwable, system.globalization.CultureNotFoundException, system.PlatformNotSupportedException, system.ArgumentException, system.IndexOutOfRangeException, system.ArgumentOutOfRangeException, system.RankException, system.ArrayTypeMismatchException, system.TypeInitializationException, system.InvalidOperationException, system.FormatException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(short value, int toBase) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.NotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.RankException, system.globalization.CultureNotFoundException, system.ObjectDisposedException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value, toBase);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(short value, IFormatProvider provider) throws Throwable, system.ArgumentException, system.PlatformNotSupportedException, system.FormatException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.ArrayTypeMismatchException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value, provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(short value) throws Throwable, system.globalization.CultureNotFoundException, system.PlatformNotSupportedException, system.ArgumentException, system.ArgumentOutOfRangeException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(int value, int toBase) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.NotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.RankException, system.globalization.CultureNotFoundException, system.ObjectDisposedException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value, toBase);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(int value, IFormatProvider provider) throws Throwable, system.ArgumentException, system.PlatformNotSupportedException, system.FormatException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.ArrayTypeMismatchException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value, provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(int value) throws Throwable, system.globalization.CultureNotFoundException, system.PlatformNotSupportedException, system.ArgumentException, system.ArgumentOutOfRangeException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(long value, int toBase) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.NotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.RankException, system.globalization.CultureNotFoundException, system.ObjectDisposedException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value, toBase);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(long value, IFormatProvider provider) throws Throwable, system.ArgumentException, system.PlatformNotSupportedException, system.FormatException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.ArrayTypeMismatchException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value, provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(long value) throws Throwable, system.globalization.CultureNotFoundException, system.PlatformNotSupportedException, system.ArgumentException, system.ArgumentOutOfRangeException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(SByte value, IFormatProvider provider) throws Throwable, system.ArgumentException, system.PlatformNotSupportedException, system.FormatException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.ArrayTypeMismatchException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(SByte value) throws Throwable, system.globalization.CultureNotFoundException, system.PlatformNotSupportedException, system.ArgumentException, system.ArgumentOutOfRangeException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(Single value, IFormatProvider provider) throws Throwable, system.PlatformNotSupportedException, system.ArgumentException, system.IndexOutOfRangeException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.FormatException, system.ArrayTypeMismatchException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(Single value) throws Throwable, system.globalization.CultureNotFoundException, system.PlatformNotSupportedException, system.ArgumentException, system.IndexOutOfRangeException, system.ArgumentOutOfRangeException, system.RankException, system.ArrayTypeMismatchException, system.TypeInitializationException, system.InvalidOperationException, system.FormatException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(DateTime value, IFormatProvider provider) throws Throwable, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.InvalidOperationException, system.ArgumentNullException, system.FormatException, system.ArgumentException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(DateTime value) throws Throwable, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.InvalidOperationException, system.ArgumentNullException, system.FormatException, system.ArgumentException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(Decimal value, IFormatProvider provider) throws Throwable, system.PlatformNotSupportedException, system.ArgumentException, system.IndexOutOfRangeException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArrayTypeMismatchException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(Decimal value) throws Throwable, system.PlatformNotSupportedException, system.globalization.CultureNotFoundException, system.ArgumentException, system.IndexOutOfRangeException, system.ArgumentOutOfRangeException, system.RankException, system.ArrayTypeMismatchException, system.TypeInitializationException, system.FormatException, system.InvalidOperationException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(NetObject value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(NetObject value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(java.lang.String value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value, provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(java.lang.String value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(UInt16 value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(UInt16 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(UInt32 value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(UInt32 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(UInt64 value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static java.lang.String ToString(UInt64 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static TypeCode GetTypeCode(NetObject value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objGetTypeCode = (JCObject)classType.Invoke("GetTypeCode", value == null ? null : value.getJCOInstance());
return new TypeCode(objGetTypeCode);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt16 ToUInt16(boolean value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt16 = (JCObject)classType.Invoke("ToUInt16", value);
return new UInt16(objToUInt16);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt16 ToUInt16(byte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt16 = (JCObject)classType.Invoke("ToUInt16", value);
return new UInt16(objToUInt16);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt16 ToUInt16(char value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt16 = (JCObject)classType.Invoke("ToUInt16", value);
return new UInt16(objToUInt16);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt16 ToUInt16(double value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt16 = (JCObject)classType.Invoke("ToUInt16", value);
return new UInt16(objToUInt16);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt16 ToUInt16(short value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt16 = (JCObject)classType.Invoke("ToUInt16", value);
return new UInt16(objToUInt16);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt16 ToUInt16(int value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt16 = (JCObject)classType.Invoke("ToUInt16", value);
return new UInt16(objToUInt16);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt16 ToUInt16(long value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt16 = (JCObject)classType.Invoke("ToUInt16", value);
return new UInt16(objToUInt16);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt16 ToUInt16(SByte value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt16 = (JCObject)classType.Invoke("ToUInt16", value == null ? null : value.getJCOInstance());
return new UInt16(objToUInt16);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt16 ToUInt16(Single value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt16 = (JCObject)classType.Invoke("ToUInt16", value == null ? null : value.getJCOInstance());
return new UInt16(objToUInt16);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt16 ToUInt16(DateTime value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt16 = (JCObject)classType.Invoke("ToUInt16", value == null ? null : value.getJCOInstance());
return new UInt16(objToUInt16);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt16 ToUInt16(Decimal value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt16 = (JCObject)classType.Invoke("ToUInt16", value == null ? null : value.getJCOInstance());
return new UInt16(objToUInt16);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt16 ToUInt16(NetObject value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt16 = (JCObject)classType.Invoke("ToUInt16", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
return new UInt16(objToUInt16);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt16 ToUInt16(NetObject value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt16 = (JCObject)classType.Invoke("ToUInt16", value == null ? null : value.getJCOInstance());
return new UInt16(objToUInt16);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt16 ToUInt16(java.lang.String value, int fromBase) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.NotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.RankException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.FormatException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt16 = (JCObject)classType.Invoke("ToUInt16", value, fromBase);
return new UInt16(objToUInt16);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt16 ToUInt16(java.lang.String value, IFormatProvider provider) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt16 = (JCObject)classType.Invoke("ToUInt16", value, provider == null ? null : provider.getJCOInstance());
return new UInt16(objToUInt16);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt16 ToUInt16(java.lang.String value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.globalization.CultureNotFoundException, system.TypeInitializationException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt16 = (JCObject)classType.Invoke("ToUInt16", value);
return new UInt16(objToUInt16);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt16 ToUInt16(UInt16 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt16 = (JCObject)classType.Invoke("ToUInt16", value == null ? null : value.getJCOInstance());
return new UInt16(objToUInt16);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt16 ToUInt16(UInt32 value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt16 = (JCObject)classType.Invoke("ToUInt16", value == null ? null : value.getJCOInstance());
return new UInt16(objToUInt16);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt16 ToUInt16(UInt64 value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt16 = (JCObject)classType.Invoke("ToUInt16", value == null ? null : value.getJCOInstance());
return new UInt16(objToUInt16);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt32 ToUInt32(boolean value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt32 = (JCObject)classType.Invoke("ToUInt32", value);
return new UInt32(objToUInt32);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt32 ToUInt32(byte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt32 = (JCObject)classType.Invoke("ToUInt32", value);
return new UInt32(objToUInt32);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt32 ToUInt32(char value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt32 = (JCObject)classType.Invoke("ToUInt32", value);
return new UInt32(objToUInt32);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt32 ToUInt32(double value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.NotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.RankException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt32 = (JCObject)classType.Invoke("ToUInt32", value);
return new UInt32(objToUInt32);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt32 ToUInt32(short value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt32 = (JCObject)classType.Invoke("ToUInt32", value);
return new UInt32(objToUInt32);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt32 ToUInt32(int value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt32 = (JCObject)classType.Invoke("ToUInt32", value);
return new UInt32(objToUInt32);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt32 ToUInt32(long value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt32 = (JCObject)classType.Invoke("ToUInt32", value);
return new UInt32(objToUInt32);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt32 ToUInt32(SByte value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt32 = (JCObject)classType.Invoke("ToUInt32", value == null ? null : value.getJCOInstance());
return new UInt32(objToUInt32);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt32 ToUInt32(Single value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt32 = (JCObject)classType.Invoke("ToUInt32", value == null ? null : value.getJCOInstance());
return new UInt32(objToUInt32);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt32 ToUInt32(DateTime value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt32 = (JCObject)classType.Invoke("ToUInt32", value == null ? null : value.getJCOInstance());
return new UInt32(objToUInt32);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt32 ToUInt32(Decimal value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt32 = (JCObject)classType.Invoke("ToUInt32", value == null ? null : value.getJCOInstance());
return new UInt32(objToUInt32);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt32 ToUInt32(NetObject value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt32 = (JCObject)classType.Invoke("ToUInt32", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
return new UInt32(objToUInt32);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt32 ToUInt32(NetObject value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt32 = (JCObject)classType.Invoke("ToUInt32", value == null ? null : value.getJCOInstance());
return new UInt32(objToUInt32);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt32 ToUInt32(java.lang.String value, int fromBase) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.NotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.RankException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.FormatException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt32 = (JCObject)classType.Invoke("ToUInt32", value, fromBase);
return new UInt32(objToUInt32);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt32 ToUInt32(java.lang.String value, IFormatProvider provider) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt32 = (JCObject)classType.Invoke("ToUInt32", value, provider == null ? null : provider.getJCOInstance());
return new UInt32(objToUInt32);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt32 ToUInt32(java.lang.String value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.globalization.CultureNotFoundException, system.TypeInitializationException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt32 = (JCObject)classType.Invoke("ToUInt32", value);
return new UInt32(objToUInt32);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt32 ToUInt32(UInt16 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt32 = (JCObject)classType.Invoke("ToUInt32", value == null ? null : value.getJCOInstance());
return new UInt32(objToUInt32);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt32 ToUInt32(UInt32 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt32 = (JCObject)classType.Invoke("ToUInt32", value == null ? null : value.getJCOInstance());
return new UInt32(objToUInt32);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt32 ToUInt32(UInt64 value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt32 = (JCObject)classType.Invoke("ToUInt32", value == null ? null : value.getJCOInstance());
return new UInt32(objToUInt32);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt64 ToUInt64(boolean value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt64 = (JCObject)classType.Invoke("ToUInt64", value);
return new UInt64(objToUInt64);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt64 ToUInt64(byte value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt64 = (JCObject)classType.Invoke("ToUInt64", value);
return new UInt64(objToUInt64);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt64 ToUInt64(char value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt64 = (JCObject)classType.Invoke("ToUInt64", value);
return new UInt64(objToUInt64);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt64 ToUInt64(double value) throws Throwable, system.PlatformNotSupportedException, system.NotSupportedException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt64 = (JCObject)classType.Invoke("ToUInt64", value);
return new UInt64(objToUInt64);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt64 ToUInt64(short value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt64 = (JCObject)classType.Invoke("ToUInt64", value);
return new UInt64(objToUInt64);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt64 ToUInt64(int value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt64 = (JCObject)classType.Invoke("ToUInt64", value);
return new UInt64(objToUInt64);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt64 ToUInt64(long value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt64 = (JCObject)classType.Invoke("ToUInt64", value);
return new UInt64(objToUInt64);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt64 ToUInt64(SByte value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt64 = (JCObject)classType.Invoke("ToUInt64", value == null ? null : value.getJCOInstance());
return new UInt64(objToUInt64);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt64 ToUInt64(Single value) throws Throwable, system.PlatformNotSupportedException, system.NotSupportedException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt64 = (JCObject)classType.Invoke("ToUInt64", value == null ? null : value.getJCOInstance());
return new UInt64(objToUInt64);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt64 ToUInt64(DateTime value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt64 = (JCObject)classType.Invoke("ToUInt64", value == null ? null : value.getJCOInstance());
return new UInt64(objToUInt64);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt64 ToUInt64(Decimal value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt64 = (JCObject)classType.Invoke("ToUInt64", value == null ? null : value.getJCOInstance());
return new UInt64(objToUInt64);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt64 ToUInt64(NetObject value, IFormatProvider provider) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt64 = (JCObject)classType.Invoke("ToUInt64", value == null ? null : value.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
return new UInt64(objToUInt64);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt64 ToUInt64(NetObject value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt64 = (JCObject)classType.Invoke("ToUInt64", value == null ? null : value.getJCOInstance());
return new UInt64(objToUInt64);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt64 ToUInt64(java.lang.String value, int fromBase) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.NotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.RankException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.FormatException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt64 = (JCObject)classType.Invoke("ToUInt64", value, fromBase);
return new UInt64(objToUInt64);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt64 ToUInt64(java.lang.String value, IFormatProvider provider) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt64 = (JCObject)classType.Invoke("ToUInt64", value, provider == null ? null : provider.getJCOInstance());
return new UInt64(objToUInt64);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt64 ToUInt64(java.lang.String value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArgumentNullException, system.globalization.CultureNotFoundException, system.TypeInitializationException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt64 = (JCObject)classType.Invoke("ToUInt64", value);
return new UInt64(objToUInt64);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt64 ToUInt64(UInt16 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt64 = (JCObject)classType.Invoke("ToUInt64", value == null ? null : value.getJCOInstance());
return new UInt64(objToUInt64);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt64 ToUInt64(UInt32 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt64 = (JCObject)classType.Invoke("ToUInt64", value == null ? null : value.getJCOInstance());
return new UInt64(objToUInt64);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static UInt64 ToUInt64(UInt64 value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objToUInt64 = (JCObject)classType.Invoke("ToUInt64", value == null ? null : value.getJCOInstance());
return new UInt64(objToUInt64);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
// Properties section
// Instance Events section
}