16/07/11 23:27:03.16 qc/cfS6K.net
>>15
わかりにくい(怒)
try {
// your code goes here
Director.Create("C:\\testdir");
} catch (IOException ex) {
MessageBox.Show("入出力エラーが発生しました。");
} catch (Exception ex) {
MessageBox.Show("想定外のエラーが発生しました。");
}
これで十分だろ
何ErrHandlerって
再利用性もゼロだし、分割しなきゃならんほど複雑な処理してんのか?
ついでに言えばcatchすんのかthrowすんのか、どっちかにしろよ
このmainはcatchした上でまたthrowするの?
おまえ向いてないよ