1 /* 2 ParenPad 3 option = (default)nospace 4 tokens = ENUM_CONSTANT_DEF, CTOR_DEF, CTOR_CALL 5 6 7 */ 8 9 package com.puppycrawl.tools.checkstyle.checks.whitespace.parenpad; 10 11 public class InputParenPadForEnum extends RuntimeException { 12 13 private static final long serialVersionUID = 1L; 14 15 public enum ErrorType { 16 ROOM_ALREADY_EXISTS, 17 USER_ALREADY_EXISTS, 18 NO_SUCH_ROOM_EXISTS 19 } 20 21 public InputParenPadForEnum(String description, ErrorType type) { 22 super(description); 23 } 24 }