teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

throw new zisakuException()→throw new zisakuException(Errorteisuu.INPUT_EXCEPTION);

2019/08/20 12:00

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -21,7 +21,7 @@
21
21
  public static String user(String input) throws zisakuException {
22
22
 
23
23
  if(input.equals(""){
24
- throw new zisakuException();
24
+ throw new zisakuException(Errorteisuu.INPUT_EXCEPTION);
25
25
  }
26
26
 
27
27
  }