1 /* 2 MutableException 3 format = (default)^.*Exception$|^.*Error$|^.*Throwable$ 4 extendedClassNameFormat = (default)^.*Exception$|^.*Error$|^.*Throwable$ 5 6 7 */ 8 9 package com.puppycrawl.tools.checkstyle.checks.design.mutableexception; 10 11 public class InputMutableExceptionMultipleInputs { 12 13 public class BarError extends Throwable { 14 private int errorCode; // violation 15 } 16 17 class CustomMutableException extends java.lang.Exception { 18 int errorCode; // violation 19 final int errorCount = 6; 20 } 21 22 private String variable; 23 }