코테를 풀다가 아래와 같은 에러가 떴다.unreported exception IOException; must be caught or declared to be thrown이 에러는 문구에 설명되어 있는대로 IOException을 선언문에 throws 해주라는 것이었다.