InvalidOperationException
Overview
Thrown when calling methods that are inconsistent with the current state.
Location
-
Reference:
- Elements.dll .NET, .NET Core 6.0, .NET Standard 2.0
- elements.jar Cooper
- Elements.fx Island, ToffeeV2
- libElements.fx Toffee
- Namespace: RemObjects.Elements.RTL
- Platforms: .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, Toffee, ToffeeV2
-
Ancestry:
- Exception | RTLException | InvalidOperationException .NET, .NET Core 6.0, .NET Standard 2.0, Cooper
- Exception | RTLException | InvalidOperationException Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
- NSException | RTLException | InvalidOperationException Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Toffee, ToffeeV2
- Exception | RTLException | InvalidOperationException .NET, .NET Core 6.0, .NET Standard 2.0, Cooper
constructor .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
constructor
InvalidOperationException()
init()
InvalidOperationException()
Sub New()
constructor init() (declared in RTLException) Toffee
init(init )
Parameters:
- :
constructor (String, array of Object) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
Parameters:
- aFormat:
- aParams:
constructor (String) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
constructor(aMessage: String)
InvalidOperationException(String aMessage)
init(_ aMessage: String)
InvalidOperationException(String aMessage)
Sub New(aMessage As String)
Parameters:
- aMessage:
constructor withError(NSError): InstanceType (declared in RTLException) Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Toffee, ToffeeV2
constructor withError(aError: NSError)
InvalidOperationException withError(NSError aError)
init(withError aError: NSError)
Sub New withError(aError As NSError)
Parameters:
- aError:
constructor withNSException(NSException) (declared in RTLException) Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
constructor withNSException(aException: NSException)
InvalidOperationException withNSException(NSException aException)
init(withNSException aException: NSException)
Sub New withNSException(aException As NSException)
Parameters:
- aException:
Message (declared in RTLException) Toffee, ToffeeV2
var Message: String { get{} }
constructor .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
constructor
InvalidOperationException()
init()
InvalidOperationException()
Sub New()
constructor init() (declared in RTLException) Toffee
init(init )
Parameters:
- :
constructor (String, array of Object) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
Parameters:
- aFormat:
- aParams:
constructor (String) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
constructor(aMessage: String)
InvalidOperationException(String aMessage)
init(_ aMessage: String)
InvalidOperationException(String aMessage)
Sub New(aMessage As String)
Parameters:
- aMessage:
constructor withError(NSError): InstanceType (declared in RTLException) Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Toffee, ToffeeV2
constructor withError(aError: NSError)
InvalidOperationException withError(NSError aError)
init(withError aError: NSError)
Sub New withError(aError As NSError)
Parameters:
- aError:
constructor withNSException(NSException) (declared in RTLException) Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator
constructor withNSException(aException: NSException)
InvalidOperationException withNSException(NSException aException)
init(withNSException aException: NSException)
Sub New withNSException(aException As NSException)
Parameters:
- aException: