This commit is contained in:
m-mun
2026-09-09 08:34:32 +09:00
parent 8e67b4ccb9
commit 1b863df929
181 changed files with 34869 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
/*
* 作成 Rhizome
*------------------------------------------------------------
* Copyright(c) Rhizome Inc. All Rights Reserved.
*/
package common;
/**
* 例外を発生させるようなメソッドを集めたクラスです
* @author rhizome
*
*/
public class ThrowExceptionUtil {
// 1文字ごとに遅らせる秒数(ミリ秒)
final static int SLEEP_TIME = 1000;
/**
* 渡された引数からカウントダウンを実施する
* @param count
* @throws InterruptedException
*/
public static void countDown(int count) throws InterruptedException {
for(int i = count; i >= 0; i--) {
System.out.println(i);
Thread.sleep(SLEEP_TIME);
}
System.out.println("カウントダウンを終了します");
}
}