Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Detect Exception thrown by a method in referenced DLL (.Net)
- public void Add(string key, object obj)
- {
- ..
- //if the Foo property from obj is null then
- throw new Exception("Foo property is null or empty")
- ..
- }
Advertisement
Add Comment
Please, Sign In to add comment