正在加载图片...
异常处理机制 readFile open the file determine its size allocate the much memory read the file into memory close the file 3 catch(fileOpen Failed)t handl 1 catch (sizedetermination Failed)tt handle 3 catch(memory Allocation Failed)t handle: 3 catch (readFailed) handle 3 catch(fileCloseFailed)t handle异常处理机制 readFile{ try{ open the file; determine its size; allocate the much memory; read the file into memory; close the file; } catch(fileOpenFailed){ handle; } catch(sizedeterminationFailed){ handle; } catch(memoryAllocationFailed){ handle; } catch(readFailed){ handle; } catch(fileCloseFailed){ handle; } }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有