1. 24 Nov, 2016 2 commits
  2. 23 Nov, 2016 3 commits
  3. 22 Nov, 2016 4 commits
  4. 21 Nov, 2016 4 commits
  5. 16 Nov, 2016 4 commits
  6. 15 Nov, 2016 4 commits
  7. 08 Nov, 2016 2 commits
    • Vulnerability : Define and throw a dedicated exception instead of using a generic one.
      
      Using such generic exceptions as Error, RuntimeException, Throwable, and Exception prevents calling methods from handling true, system-generated exceptions differently than application-generated errors.
      
      Noncompliant Code Example
      
      public void foo(String bar) throws Throwable {  // Noncompliant
        throw new RuntimeException("My Message");     // Noncompliant
      }
      
      Compliant Solution
      
      public void foo(String bar) {
        throw new MyOwnRuntimeException("My Message");
      }
      Jean-Francois Leveque authored
    • JR Utily authored
  8. 28 Sep, 2016 1 commit
  9. 13 Sep, 2016 1 commit