exception 686

  1. How can I create a directory if it does not exist?
  2. Catch multiple exceptions in one line (except block)
  3. Catch multiple exceptions at once?
  4. How do you assert that a certain exception is thrown in JUnit 4 tests?
  5. Manually raising (throwing) an exception in Python
  6. Dealing with “java.lang.OutOfMemoryError: PermGen space” error
  7. Proper way to declare custom exceptions in modern Python?
  8. Uncatchable ChuckNorrisException
  9. Try/Except in Python: How do you properly ignore Exceptions?
  10. How do I check if a variable exists?
  11. Java: checked vs unchecked exception explanation
  12. Can I catch multiple Java exceptions in the same catch clause?
  13. IllegalArgumentException or NullPointerException for a null parameter?
  14. Is there anything like .NET's NotImplementedException in Java?
  15. Begin, Rescue and Ensure in Ruby?
  16. How do you test that a Python function throws an exception?
  17. Should a retrieval method return 'null' or throw an exception when it can't produce the return value?
  18. Why should I not wrap every block in “try”-“catch”?
  19. The case against checked exceptions
  20. When to throw an exception?
  21. When should I really use noexcept?
  22. Cannot delete directory with Directory.Delete(path, true)
  23. Rethrowing exceptions in Java without losing the stack trace
  24. Is there a difference between “throw” and “throw ex”?
  25. Which exception should I raise on bad/illegal argument combinations in Python?
  26. How to add manifest permission to android application?
  27. Why do I get an UnsupportedOperationException when trying to remove an element from a List?
  28. WPF global exception handler
  29. What's a good way to extend Error in JavaScript?
  30. Could not load file or assembly … An attempt was made to load a program with an incorrect format (System.BadImageFormatException)
  31. Which part of throwing an Exception is expensive?
  32. Exception messages in English?
  33. Best way to log a Python exception
  34. How to define custom exception class in Java, the easiest way?
  35. Is there “Break on Exception” in IntelliJ?
  36. What could cause java.lang.reflect.InvocationTargetException?
  37. Why is “except: pass” a bad programming practice?
  38. Is it a good practice to use try-except-else in Python?
  39. Mockito test a void method throws an exception
  40. Python: How to ignore an exception and proceed?
  41. What happens if a finally block throws an exception?
  42. What does “fatal error: unexpectedly found nil while unwrapping an Optional value” mean?
  43. Throwing exceptions from constructors
  44. Does C++ support 'finally' blocks? (And what's this 'RAII' I keep hearing about?)
  45. In C#, how can I rethrow InnerException without losing stack trace?
  46. Could not load file or assembly … The parameter is incorrect
  47. Can constructors throw exceptions in Java?
  48. When should I use Debug.Assert()?
  49. throwing exceptions out of a destructor
  50. Globally catch exceptions in a WPF application?