package core.exception;

import java.lang.Thread.UncaughtExceptionHandler;

/**
 * 例外ハンドラ
 * @author Tadashi Nakayama
 */
public class ThreadExceptionHandler implements UncaughtExceptionHandler {
	/**
	 * @see java.lang.Thread.UncaughtExceptionHandler
	 * #uncaughtException(java.lang.Thread, java.lang.Throwable)
	 */
	@Override
	public void uncaughtException(final Thread t, final Throwable e) {
		ThrowableUtil.error(e);
	}
}
