![]() |
TopCon API
1.1.0
.Net API to control TopCon devices
|
Public Member Functions | |||||||
ExceptionMessenger () | |||||||
void | ThrowException (Exception exception) | ||||||
Write the exception message and throw the exception. More... | |||||||
void | ThrowException (String message) | ||||||
Write the message and throw the exception. More... | |||||||
void | ThrowSimulationException (string message, BatterySimulationState actualSimulationState, BatterySimulationState desiredSimulationState) | ||||||
This exception is thrown by calling not allowed operations for an state. Example: Current state is Started and the ResumeSimulation() function is called!
| |||||||
string | GetLastError () | ||||||
Get the last exception message. More... | |||||||
void | Dispose () | ||||||
void | DoDispose (bool calledByFinalizer) | ||||||
Public Attributes | |
bool | Disposed => _disposed |
CH.Regatron.HPPS.ExceptionMessenger.ExceptionMessenger | ( | ) |
void CH.Regatron.HPPS.ExceptionMessenger.Dispose | ( | ) |
void CH.Regatron.HPPS.ExceptionMessenger.DoDispose | ( | bool | calledByFinalizer | ) |
calledByFinalizer |
string CH.Regatron.HPPS.ExceptionMessenger.GetLastError | ( | ) |
void CH.Regatron.HPPS.ExceptionMessenger.ThrowException | ( | Exception | exception | ) |
Write the exception message and throw the exception.
exception |
void CH.Regatron.HPPS.ExceptionMessenger.ThrowException | ( | String | message | ) |
Write the message and throw the exception.
message |
void CH.Regatron.HPPS.ExceptionMessenger.ThrowSimulationException | ( | string | message, |
BatterySimulationState | actualSimulationState, | ||
BatterySimulationState | desiredSimulationState | ||
) |
This exception is thrown by calling not allowed operations for an state. Example: Current state is Started and the ResumeSimulation() function is called!
message | Exception message |
actualSimulationState | Actual simulation state. |
desiredSimulationState | Target simulation state. |
bool CH.Regatron.HPPS.ExceptionMessenger.Disposed => _disposed |