ๆญฏ์ฒ˜๋ฆฌ.PDF

Similar documents
(Humphery Kim) RAD Studio : h=p://tech.devgear.co.kr/ : h=p://blog.hjf.pe.kr/ Facebook : h=p://d.com/hjfactory :

ๆญฏMDI.PDF

ๆญฏ9์žฅ.PDF

1

PowerPoint ํ”„๋ ˆ์  ํ…Œ์ด์…˜

OCaml

12-file.key

03แ„Œแ…กแ†ผ.แ„‰แ…ณแ„แ…ขแ†จ.key

Javascript.pages

<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D D382E687770>

02 C h a p t e r Java

SIGPLwinterschool2012

01-OOPConcepts(2).PDF

PL10

untitled

PowerPoint ํ”„๋ ˆ์  ํ…Œ์ด์…˜

1 ๊ฐœ์ • ์‚ฌ์œ  ํ™˜๊ฒฝ์˜ํ–ฅํ‰๊ฐ€์ œ๋„๊ฐ€ ํ™˜๊ฒฝ์ •์ฑ…๊ธฐ๋ณธ๋ฒ• ์— ๋”ฐ๋ฅธ ์‚ฌ์ „ํ™˜๊ฒฝ์„ฑ๊ฒ€ํ† ์™€, ํ™˜๊ฒฝ์˜ํ–ฅํ‰๊ฐ€๋ฒ• ์— ๋”ฐ๋ฅธ ํ™˜๊ฒฝ์˜ํ–ฅํ‰๊ฐ€๋กœ ์ด์›ํ™” -์œ ์‚ฌ ๋ชฉ์ ์˜ ํ‰๊ฐ€์ œ๋„๊ฐ€ ๊ฐ๊ฐ ๋‹ค๋ฅธ ๋ฒ•๋ฅ ์— ๊ทœ์ •๋˜์–ด ํ‰๊ฐ€์ ˆ์ฐจ๊ฐ€ ๋ณต์žกํ•˜๊ณ  ํ™˜๊ฒฝํ‰๊ฐ€์˜ ์ผ๊ด€์„ฑ ์—ฐ๊ณ„์„ฑ์ด ๋ถ€์กฑ *์‚ฌ์ „ํ™˜๊ฒฝ๊ฒฝ์„ฑ๊ฒ€ํ† ๋Š” ํ–‰์ •๊ณ„ํš๊ณผ ๊ฐœ๋ฐœ์‚ฌ์—…๊ณ„ํš ์ˆ˜๋ฆฝ

Modern Javascript

Analytics > Log & Crash Search > Unity ios SDK [Deprecated] Log & Crash Unity ios SDK. TOAST SDK. Log & Crash Unity SDK Log & Crash Search. Log & Cras

13์ฃผ-14์ฃผproc.PDF

๋ชฉ์ฐจ BUG offline replicator ์—์„œ์œ ํšจํ•˜์ง€์•Š์€๋กœ๊ทธ๋ฅผ์ฝ์„๊ฒฝ์šฐ๋น„์ •์ƒ์ข…๋ฃŒํ• ์ˆ˜์žˆ๋‹ค... 3 BUG ๊ฐ partition ์ด์„œ๋กœ๋‹ค๋ฅธ tablespace ๋ฅผ๊ฐ€์ง€๊ณ , column type ์ด CLOB ์ด๋ฉฐ, ํ•ด๋‹น table ์„ truncate

NoSQL

๋ชฉ์ฐจ BUG DEQUEUE ์˜ WAIT TIME ์ด 1 ์ดˆ๋ฏธ๋งŒ์ธ๊ฒฝ์šฐ, ์„ค์ •ํ•œ์‹œ๊ฐ„๋งŒํผ๋Œ€๊ธฐํ•˜์ง€์•Š๋Š”๋ฌธ์ œ๊ฐ€์žˆ์Šต๋‹ˆ๋‹ค... 3 BUG [qp-select-pvo] group by ํ‘œํ˜„์‹์—์žˆ๋Š”์ปฌ๋Ÿผ์„์ฐธ์กฐํ•˜๋Š”์ง‘ํ•ฉ์—ฐ์‚ฐ์ด์กด์žฌํ•˜์ง€์•Š์œผ๋ฉด๊ฒฐ๊ด๊ฐ’์˜ค๋ฅ˜๊ฐ€๋ฐœ์ƒํ• ์ˆ˜์žˆ์Šต๋‹ˆ๋‹ค... 4

Connection 8 22 UniSQLConnection / / 9 3 UniSQL OID SET

้ฎ๋šฎโ”ฐ๏งŽ๋ถพ๋ฑ??๏งกโ‘ค๋‚ฏ

๋ชฉ์ฐจ BUG ๋ฌธ๋ฒ•์—๋งž์ง€์•Š๋Š”์งˆ์˜๋ฌธ์ˆ˜ํ–‰์‹œ, ์—๋Ÿฌ๋ฉ”์‹œ์ง€์—์งˆ์˜๋ฌธ์˜์ผ๋ถ€๋งŒ๋ณด์—ฌ์ฃผ๋Š”๋ฌธ์ œ๋ฅผ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค... 3 BUG ROUND, TRUNC ํ•จ์ˆ˜์—์„œ DATE ํฌ๋งท IW ๋ฅผ์ถ”๊ฐ€์ง€์›ํ•ฉ๋‹ˆ๋‹ค... 5 BUG ROLLUP/CUBE ์ ˆ์„ํฌํ•จํ•˜๋Š”์งˆ์˜๋Š” SUBQUE

แ„’แ…ฑแ†ฏแ„‰แ…ฆแ„†แ…ตแ„‚แ…ก3 ver0.4

PRO1_02E [์ฝ๊ธฐ ์ „์šฉ]

Semantic Consistency in Information Exchange

Mobile Service > IAP > Android SDK [ ] IAP SDK TOAST SDK. IAP SDK. Android Studio IDE Android SDK Version (API Level 10). Name Reference V

๊ฐ•์˜10

EMBARCADERO TECHNOLOGIES (Humphery Kim) RAD Studio : h=p://tech.devgear.co.kr/ : h=p://blog.hjf.pe.kr/ Facebook : h=p://d.com/hjfactory :

4. #include <stdio.h> #include <stdlib.h> int main() { functiona(); } void functiona() { printf("hihi\n"); } warning: conflicting types for functiona

C++-ยฟรยบยฎร‡ร˜ยผยณ10ร€รฅ

Microsoft PowerPoint - PL_03-04.pptx

์Šฌ๋ผ์ด๋“œ 1

Polly_with_Serverless_HOL_hyouk

6์ฃผ์ฐจ.key

ํ•™์Šต๋ชฉํ‘œ ํ•จ์ˆ˜ํ”„๋กœ์‹œ์ €, ์„œ๋ธŒํ”„๋กœ์‹œ์ €์˜์˜๋ฏธ๋ฅผ์•ˆ๋‹ค. ๋งค๊ฐœ๋ณ€์ˆ˜์ „๋‹ฌ๋ฐฉ์‹์„ํ•™์Šตํ•œ๋‹ค. ํ•จ์ˆ˜๋ฅผ์ด์šฉํ•œํ”„๋กœ๊ทธ๋ž˜๋ฐํ•œ๋‹ค. 2

UML

USER GUIDE

Microsoft PowerPoint - 04-UDP Programming.ppt

PowerPoint ํ”„๋ ˆ์  ํ…Œ์ด์…˜

ๆญฏ์—‘์…€๋ชจ๋ธ๋ง

PCServerMgmt7

ch09

MAX+plus II Getting Started - ๋ฌด์ž‘์ •๋”ฐ๋ผํ•˜๊ธฐ

Ext JS ร€ยฅยพร–ร‡รƒยธยฎร„ร‰ร€รŒยผร‡ยฐยณยนรŸ-ยณยนร€รฅ.PDF

5.แ„‰แ…ณแ„แ…ขแ†จ(แ„€แ…กแ†ผแ„‹แ…ดแ„Œแ…กแ„…แ…ญ).key

thesis

T100MD+

K&R2 Reference Manual ๋ฒˆ์—ญ๋ณธ

?ํ„ธๆฌ๋ฌต

Eclipse ์™€ Firefox ๋ฅผ์ด์šฉํ•œ Javascript ๊ฐœ๋ฐœ ๋ฐœํ‘œ์ž : ๋ฌธ๊ฒฝ๋Œ€ 11 ๋…„ 10 ์›” 26 ์ผ์ˆ˜์š”์ผ

Deok9_Exploit Technique

Cํ”„๋กœ-3์žฅc03้€žํ’š

Java

EMBARCADERO TECHNOLOGIES (Humphery Kim) RAD Studio : h=p://tech.devgear.co.kr/ : h=p://blog.hjf.pe.kr/ Facebook : h=p://d.com/hjfactory :

๊ธฐ๋ณธ์ž๋ฃŒํ˜•๋งŒ์œผ๋กœ์ด๋ฃจ์–ด์ง„์ธ์ž๋ฅผ๋ฐ›์•„์„œํ•จ์ˆ˜๋ฅผ๊ฒฐ๊ณผ๊ฐ’์œผ๋กœ๋ฐ˜ํ™˜ํ•˜๋Š”๊ณ ์ฐจํ•จ์ˆ˜ ๊ธฐ๋ณธ์ž๋ฃŒํ˜•๊ณผํ•จ์ˆ˜๋ฅผ์ธ์ž์™€๊ฒฐ๊ณผ๊ฐ’์—๋ชจ๋‘์ด์šฉํ•˜๋Š”๊ณ ์ฐจํ•จ์ˆ˜ ๋‹ค์Œ์ ˆ์—์„œ๋Š”์—ฌ๋Ÿฌ๊ฐ€์ง€์˜ˆ๋ฅผํ†ตํ•ด์„œ๊ณ ์ฐจํ•จ์ˆ˜๊ฐ€์–ด๋–ค๊ฒฝ์šฐ์—์œ ์šฉํ•œ์ง€๋ฅผ์„ค๋ช…ํ•œ๋‹ค. 2 ๊ณ ์ฐจํ•จ์ˆ˜์˜ ์˜ˆ??์žฅ์—์„œ๋Œ€์ƒ์ฒด๋งŒ๋ฐ”๋€Œ๊ณ ์ค‘๊ฐ„๊ณผ์ •์€๋™์ผํ•œ๊ณ„์‚ฐ์ด๋ฐ˜๋ณต๋ ๋•Œํ•จ์ˆ˜๋ฅผ์ด์šฉํ•˜๋ฉด์ „์ฒด์—ฐ์‚ฐ์‹์„๊ฐ„ ๋‹จ

slide2

์˜ˆ์ œ 1.1 ( ๊ด€๊ณ„์—ฐ์‚ฐ์ž ) >> A=1:9, B=9-A A = B = >> tf = A>4 % 4 ๋ณด๋‹คํฐ A ์˜์›์†Œ๋“ค์„์ฐพ์„๊ฒฝ์šฐ tf = >> tf = (A==B) % A

Week5

05-class.key

09-interface.key

DocsPin_Korean.pages

Tcl์˜ ๋ฌธ๋ฒ•

Cluster management software

hlogin7

Smart Power Scope Release Informations.pages

Microsoft PowerPoint - lecture2.ppt

UI TASK & KEY EVENT

example code are examined in this stage The low pressure pressurizer reactor trip module of the Plant Protection System was programmed as subject for

chap01_time_complexity.key


untitled

chap7.key

# E-....b61.)

์„œ๋ก  34 2

PRO1_16E [์ฝ๊ธฐ ์ „์šฉ]

y 0.5 9, 644 e = 10, y = ln = 3.6(%) , May. 20, 2005

์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ C++


ยฝร…ร‡ร‘sr_ยฑยนยนยฎร†รฎร„ยง

ยฝร…ร‡ร‘sr_ยฑยนยนยฎร†รฎร„ยง

Domino Designer Portal Development tools Rational Application Developer WebSphere Portlet Factory Workplace Designer Workplace Forms Designer

2017 ๋…„ 6 ์›”ํ•œ๊ตญ์†Œํ”„ํŠธ์›จ์–ด๊ฐ์ •ํ‰๊ฐ€ํ•™ํšŒ๋…ผ๋ฌธ์ง€์ œ 13 ๊ถŒ์ œ 1 ํ˜ธ Abstract

Microsoft PowerPoint - 12-Custom Classes.pptx

UI TASK & KEY EVENT

Microsoft PowerPoint - a10.ppt [ํ˜ธํ™˜ ๋ชจ๋“œ]

Index Process Specification Data Dictionary

DDX4038BT DDX4038BTM DDX4038 DDX4038M 2010 Kenwood Corporation All Rights Reserved. LVT A (MN)

PRO1_04E [์ฝ๊ธฐ ์ „์šฉ]

0.1-6

Microsoft PowerPoint - 09-Object Oriented Programming-3.pptx

ๆญฏJavaExceptionHandling.PDF

PowerPoint ํ”„๋ ˆ์  ํ…Œ์ด์…˜

PowerPoint ํ”„๋ ˆ์  ํ…Œ์ด์…˜

No Slide Title

Microsoft PowerPoint - ch03ysk2012.ppt [ํ˜ธํ™˜ ๋ชจ๋“œ]


Transcription:

E06 (Exception)

1 (Report) : { $I- } { I/O } Assign(InFile, InputName); Reset(InFile); { $I+ } { I/O } if IOResult <> 0 then { }; (Exception) 2

2 (Settling State) Post OnValidate BeforePost Post Settling State AfterPost Settling State, OnValidate BeforePost AfterPost settling state 3

Settling State OnValidate Raises an exception BeforePost Post AfterPost Settling State (BeforePost, Post, AfterPost) settling state ( ) 4

3 2 31 finally finally <statement>; <statement>; finally <statement>; <statement>; finally finally finally finally finally end end finally finally, finally finally, finally 5

(memory, graphics handles ),,, (leak),, graphics handle handle, graphics handle finally About About : procedure TfrmMainmntmAboutClick(Sender: TObject); frmabout := TfrmAboutcreate( Application ); frmaboutshowmodal; frmaboutfree;, Free (, graphics ) : procedure TfrmOrderEnMainmntmAboutClick(Sender: TObject); frmabout := TfrmAboutcreate( Application ); frmaboutshowmodal; finally frmaboutfree; 6

//finally, finally Assign( TextFile, TextFileName ); reset( TextFile ); readln( TextFile, buf ); finally { } CloseFile( TextFile ); {finally} finally cleanup 32 except except : < statement >; < statement >; except on ExceptionType1 do <statement(s)>; 7

on ExceptionType2 do {except} <statement(s)>; except : result := x/y; except on EZeroDivide do MessageDlg( Division by zero, mterror, [mbok], 0 ); on Eunderflow do MessageBeep( 0 ); MessageDlg( Numbers too small for valid results, {on Eunderflow} mterror, [mbok], 0 ); finally, except end, except (Exception) T E " " except except except, except 8

: function GetRatio( x, y : integer ) : Double; Result := x/y; except on EZeroDivide do Result := 00; ShowMessage( Cannot divide by zero ); {EZeroDivide} on EUnderFlow do Result := 00; ShowMessage( Difference is too great ); {EUnderFlow} on EMathError do Result := 00; ShowMessage( General math error ); {EMathError} {except} {procedure} y 0 ( ) math Project Browser : 9

Zero Dvide UnderFlow MathError 2 (math error), except EMathError 2 Exception 10

4 Propagation Propagating ' ' call stack Application call stack propagation Application GetRatio OutOfMemory, 5 Raise raise Raise 2 raise, propagation raise 0, propagation Raise propagation function GetAverage( Sum : integer; NumItems : word ) : Double; result := sum / NumItems; except 11

on EDivByZero do result := 00; // raise; {EDivByZero} {except} // Raise Simulation, EdivByZero, : raise EDivByZerocreate( 0 ); Raise raise 6 finally except finally except : function GetAverageFromFile( FileName : string ) : Double; var inputfile : Text; buf : string; sum, numitems : integer; sum := 0; numitems := 0; assignfile( inputfile, FileName ); reset( inputfile ); 12

while ( not eof( inputfile ) ) do readln( inputfile, buf ); sum := StrToInt( buf ); inc( numitems ); result := sum / numitems; except on EDivByZero do result := 00; raise; {EDivByZero} {except} finally CloseFile( inputfile ); {finally} numitems 0, 00 propagation finally finally 7 71 Exception : type EInvalidBalance = class( Exception ); 13

Raise EInvalidBalancecreate(! ); 72 Instance : except on E : EInvalidBalance do ShowMessage( Error message: + Emessage );, E scoping 14

propagation, out of scope 73 (Silent Exception) (silent exception) propagation EAbort EAbort : raise EAbortcreate( Invisible message ); Abort EAbort EAbort Abort : if not customerisvalidbalance( -50 ) then Abort; 15

8 Application Application propagation Application Application HandleException Application propagation HandleException ShowException ShowException HandleException OnException Application OnException Application Object Inspector,, 2 TObject Sender E Application : procedure TfrmAppExcepCustomExceptionHandler( Sender : TObject; E : Exception ); if E is EInvalidBalance then ShowMessage( 'Handling Invalid Balance exception' ) else applicationshowexception( E ); procedure TfrmAppExcepFormCreate(Sender: TObject); applicationonexception := CustomExceptionHandler; 16

(ShowException ) 17

9 91 EDatabaseError EDa tabaseerror EDatabaseError EDatabaseError EDatabaseError Cancel : repeat // Cancel tblconntestactive:= True; // tblconntest Break; // except on EDatabaseError do // OK if MessageDlg('Could not open table', mterror, [mbok, mbcancel], 0) <> mrok then raise; // Cancel // except until False; EDatabaseError BDE DBEngine 92 OnPostError, OnEditError, OnDeleteError OnPostError, OnEditError, OnDeleteError TTable, TQuerie, TStoredProcedure : 18

procedure TfrmAppExceptblNamePostError(DataSet: TDataSet; E: EDatabaseError; var Action: TDataAction); : DataSet TDataSet E EDatabaseError Action TDataAction 3 : dafail, daabort, dare Action dafail EDatabaseError daabort EDatabaseError dare Action dafail daabort 93 EDBEngineError EDBEngineError EDatabaseError Errors ErrorCount BDE, BDE 3 BDE 3 Errors ErrorCount BDE Errors TDBError TDBError : ErrorCode Category BDE ( ) ErrorCode 19

SubCode NativeError Message 0, BDE BDE 94 BDE BDE DCU Delphi5 DOC BDEINT BDE BDE 16 : ERRBASE_NONE = 0; { No error } ERRBASE_SYSTEM = $2100; { System related (Fatal Error) } ERRBASE_NOTFOUND = $2200; { Object of interest Not Found } ERRBASE_DATACORRUPT = $2300; { Physical Data Corruption } offset : ERRCODE_SYSFILEOPEN = 1; { Cannot open a system file } ERRCODE_SYSFILEIO = 2; { I/O error on a system file } ERRCODE_SYSCORRUPT = 3; { Data structure corruption } ERRCODE_NOCONFIGFILE = 4; { Cannot find config file } offset : DBIERR_SYSFILEOPEN = (ERRBASE_SYSTEM + ERRCODE_SYSFILEOPEN); DBIERR_SYSFILEIO = (ERRBASE_SYSTEM + ERRCODE_SYSFILEIO); DBIERR_SYSCORRUPT = (ERRBASE_SYSTEM + ERRCODE_SYSCORRUPT); DBIERR_NOCONFIGFILE = (ERRBASE_SYSTEM + ERRCODE_NOCONFIGFILE); 20

DBIERR_ BDE BDE BDE BDE : tblconnectactive := true; except on E : EDBEngineError do MessageDlg( 'Can''t find table', mterror, [mbok], 0 );? BDE : tblconnectactive := true; except on E : EDBEngineError do case Eerrors[0]errorCode of DBIERR_OSENOPATH : MessageDlg( 'Invalid Path', mterror, [mbok], 0 ); DBIERR_OSENOENT : MessageDlg( 'File not Found', mterror, [mbok], 0 ); else raise; //case BDE BDE BDE 21