{"title":"Fortran中的异常处理","authors":"A. Markus","doi":"10.1145/2502932.2502933","DOIUrl":null,"url":null,"abstract":"Exceptions are the rule in some programming languages, notably C++, Java and C#. They are used to create robust programs: if an exceptional situation occurs somewhere inside a library, say we can not find a particular record in a database table (or the table itself), this can be dealt with by raising or throwing an exception. A routine at a higher level is supposed to catch this and act upon the situation, either by presenting the user with a meaningful message or by providing an alternative. Exceptions, in the various forms they are implemented in the various languages, are described extensively in, for instance, Wikipedia [2].","PeriodicalId":379614,"journal":{"name":"ACM SIGPLAN Fortran Forum","volume":"53 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-07-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Exception handling in Fortran\",\"authors\":\"A. Markus\",\"doi\":\"10.1145/2502932.2502933\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Exceptions are the rule in some programming languages, notably C++, Java and C#. They are used to create robust programs: if an exceptional situation occurs somewhere inside a library, say we can not find a particular record in a database table (or the table itself), this can be dealt with by raising or throwing an exception. A routine at a higher level is supposed to catch this and act upon the situation, either by presenting the user with a meaningful message or by providing an alternative. Exceptions, in the various forms they are implemented in the various languages, are described extensively in, for instance, Wikipedia [2].\",\"PeriodicalId\":379614,\"journal\":{\"name\":\"ACM SIGPLAN Fortran Forum\",\"volume\":\"53 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2013-07-12\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"ACM SIGPLAN Fortran Forum\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/2502932.2502933\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM SIGPLAN Fortran Forum","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2502932.2502933","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Exceptions are the rule in some programming languages, notably C++, Java and C#. They are used to create robust programs: if an exceptional situation occurs somewhere inside a library, say we can not find a particular record in a database table (or the table itself), this can be dealt with by raising or throwing an exception. A routine at a higher level is supposed to catch this and act upon the situation, either by presenting the user with a meaningful message or by providing an alternative. Exceptions, in the various forms they are implemented in the various languages, are described extensively in, for instance, Wikipedia [2].