public class ArgumentOutOfRangeException extends ArgumentException
.NET documentation at https://learn.microsoft.com/dotnet/api/System.ArgumentOutOfRangeException
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.ArgumentOutOfRangeException
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ArgumentOutOfRangeException() |
ArgumentOutOfRangeException(NetException cause) |
ArgumentOutOfRangeException(java.lang.Object instance)
Internal constructor.
|
ArgumentOutOfRangeException(java.lang.String message) |
ArgumentOutOfRangeException(java.lang.String message,
NetException cause) |
ArgumentOutOfRangeException(java.lang.String paramName,
NetObject actualValue,
java.lang.String message)
Initializes a new instance by invoking the .NET constructor.
|
ArgumentOutOfRangeException(java.lang.String paramName,
java.lang.String message)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ArgumentOutOfRangeException |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ArgumentOutOfRangeException, a cast assert is made to check if types are compatible. |
NetObject |
getActualValue()
Gets the value of the .NET property ActualValue.
|
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
void |
GetObjectData(SerializationInfo info,
StreamingContext context)
Invokes the .NET member GetObjectData.
|
void |
setJCOInstance(JCObject instance) |
static <T extends IJCOBridgeReflected> |
ThrowIfEqual(T value,
T other,
java.lang.String paramName)
Invokes the .NET member ThrowIfEqual.
|
static <T extends IJCOBridgeReflected> |
ThrowIfGreaterThan(T value,
T other,
java.lang.String paramName)
Invokes the .NET member ThrowIfGreaterThan.
|
static <T extends IJCOBridgeReflected> |
ThrowIfGreaterThanOrEqual(T value,
T other,
java.lang.String paramName)
Invokes the .NET member ThrowIfGreaterThanOrEqual.
|
static <T extends IJCOBridgeReflected> |
ThrowIfLessThan(T value,
T other,
java.lang.String paramName)
Invokes the .NET member ThrowIfLessThan.
|
static <T extends IJCOBridgeReflected> |
ThrowIfLessThanOrEqual(T value,
T other,
java.lang.String paramName)
Invokes the .NET member ThrowIfLessThanOrEqual.
|
static <T extends IJCOBridgeReflected> |
ThrowIfNegative(T value,
java.lang.String paramName)
Invokes the .NET member ThrowIfNegative.
|
static <T extends IJCOBridgeReflected> |
ThrowIfNegativeOrZero(T value,
java.lang.String paramName)
Invokes the .NET member ThrowIfNegativeOrZero.
|
static <T extends IJCOBridgeReflected> |
ThrowIfNotEqual(T value,
T other,
java.lang.String paramName)
Invokes the .NET member ThrowIfNotEqual.
|
static <T extends IJCOBridgeReflected> |
ThrowIfZero(T value,
java.lang.String paramName)
Invokes the .NET member ThrowIfZero.
|
getParamName, ThrowIfNullOrEmpty, ThrowIfNullOrWhiteSpaceEquals, Equals, GetHashCode, getMessage, getStackTrace, GetType, hashCode, toString, ToStringpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ArgumentOutOfRangeException()
public ArgumentOutOfRangeException(NetException cause)
public ArgumentOutOfRangeException(java.lang.Object instance)
instance - the underlying bridge object: it must be a JCObjectpublic ArgumentOutOfRangeException(java.lang.String message)
public ArgumentOutOfRangeException(java.lang.String message,
NetException cause)
public ArgumentOutOfRangeException(java.lang.String paramName,
NetObject actualValue,
java.lang.String message)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
IndexOutOfRangeException,
RankException,
CultureNotFoundException,
ObjectDisposedException
paramName - the argument of type java.lang.StringactualValue - the argument of type NetObjectmessage - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic ArgumentOutOfRangeException(java.lang.String paramName,
java.lang.String message)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
IndexOutOfRangeException,
RankException,
CultureNotFoundException,
ObjectDisposedException
paramName - the argument of type java.lang.Stringmessage - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static ArgumentOutOfRangeException cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ArgumentOutOfRangeException, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedArgumentOutOfRangeException instancejava.lang.Throwable - in case of error during cast operationpublic NetObject getActualValue() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ArgumentExceptionString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ArgumentExceptionString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ArgumentExceptionObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ArgumentExceptionString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ArgumentExceptionJCType representing the CLR Type of the instantiated Classpublic void GetObjectData(SerializationInfo info, StreamingContext context) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, InvalidOperationException, SerializationException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException
GetObjectData in class ArgumentExceptioninfo - the argument of type SerializationInfocontext - the argument of type StreamingContextjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSerializationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
setJCOInstance in class ArgumentExceptionpublic static <T extends IJCOBridgeReflected> void ThrowIfEqual(T value, T other, java.lang.String paramName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException
T - the type of the generic argument Tvalue - the argument of type Tother - the argument of type TparamName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic static <T extends IJCOBridgeReflected> void ThrowIfGreaterThan(T value, T other, java.lang.String paramName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException
T - the type of the generic argument Tvalue - the argument of type Tother - the argument of type TparamName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic static <T extends IJCOBridgeReflected> void ThrowIfGreaterThanOrEqual(T value, T other, java.lang.String paramName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException
T - the type of the generic argument Tvalue - the argument of type Tother - the argument of type TparamName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic static <T extends IJCOBridgeReflected> void ThrowIfLessThan(T value, T other, java.lang.String paramName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException
T - the type of the generic argument Tvalue - the argument of type Tother - the argument of type TparamName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic static <T extends IJCOBridgeReflected> void ThrowIfLessThanOrEqual(T value, T other, java.lang.String paramName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException
T - the type of the generic argument Tvalue - the argument of type Tother - the argument of type TparamName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic static <T extends IJCOBridgeReflected> void ThrowIfNegative(T value, java.lang.String paramName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
T - the type of the generic argument Tvalue - the argument of type TparamName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static <T extends IJCOBridgeReflected> void ThrowIfNegativeOrZero(T value, java.lang.String paramName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
T - the type of the generic argument Tvalue - the argument of type TparamName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static <T extends IJCOBridgeReflected> void ThrowIfNotEqual(T value, T other, java.lang.String paramName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException
T - the type of the generic argument Tvalue - the argument of type Tother - the argument of type TparamName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic static <T extends IJCOBridgeReflected> void ThrowIfZero(T value, java.lang.String paramName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
T - the type of the generic argument Tvalue - the argument of type TparamName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises it