is it possible to subclass MException?? I'm trying to mock a third party software and therefore i need an exception object with the property 'ExceptionObject', so that i can run some code like this:
when i just subclass MException, the creation of the object fails with the error message 'not enough input arguments'. I'm using two strings(identifier & message) as input arguments, and creating a 'normal' MException object with these two arguments works fine.
Does anybody know where this error could come from, or any other way to create a custom exception object?