를 만들 예외 클래스에서 떨림

코드 예제

10
0

예외는 다트

try {
  breedMoreLlamas();
} on OutOfLlamasException {			// A specific exception  
  buyMoreLlamas();
} on Exception catch (e) { 			// Anything else that is an exception
  print('Unknown exception: $e');
} catch (e) {						// No specified type, handles all
  print('Something really unknown: $e');
} finally {							// Always clean up, even if case of exception
  cleanLlamaStalls();
}

비슷한 페이지

예제가있는 유사한 페이지

다른 언어로

이 페이지는 다른 언어로되어 있습니다

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................