Guest User

Untitled

a guest
Jul 17th, 2012
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. Detect Exception thrown by a method in referenced DLL (.Net)
  2. public void Add(string key, object obj)
  3. {
  4. ..
  5. //if the Foo property from obj is null then
  6. throw new Exception("Foo property is null or empty")
  7. ..
  8. }
Advertisement
Add Comment
Please, Sign In to add comment