RuntimeException
Class
Definition
RuntimeException is the base class for exceptions likely to occur while a Monad command is running.
public class RuntimeException : SystemException, System.Management.Automation.IContainsErrorRecord
- Inheritance
-
RuntimeException
- Derived
- Implements
Remarks
Monad scripts can trap RuntimeException using the "trap (exceptionclass) {handler}" script construct.
Instances of this exception class are usually generated by the
Monad Engine. It is unusual for code outside the Monad Engine
to create an instance of this class.
Constructors
| RuntimeException() |
Initializes a new instance of the RuntimeException class. |
| RuntimeException(String) |
Initializes a new instance of the RuntimeException class. |
| RuntimeException(SerializationInfo, StreamingContext) |
Initializes a new instance of the RuntimeException class using data serialized via ISerializable |
| RuntimeException(String, Exception) |
Initializes a new instance of the RuntimeException class. |
| RuntimeException(String, Exception, ErrorRecord) |
Initializes a new instance of the RuntimeException class starting with an already populated error record. |
Properties
| ErrorRecord |
Additional information about the error |
| StackTrace |
Same as Object |
| WasThrownFromThrowStatement | |
Methods
| GetObjectData(SerializationInfo, StreamingContext) |
Serializer for ISerializable |