'catch'에 해당되는 글 1건

  1. 2012.08.24 강제로 Exception 에러 발생시키기

강제로 Exception 에러 발생시키기


try
{
    throw (new Exception("에러메세지"));
}
catch (Exception e)
{
    //e.Message 출력
}

 

오랫만에 색 포스팅 *_*

prev 1 next