result 는 boolean타입 변수임 ture와 false를 반환함.

정액제가 있으면 true 없으면 false인데 예외처리할때

if(result) {
} else {
}

이렇게만 해도되나?