home > 比較編 > C, C++, Objective-C, Java, C# > execution control >

ForNext

Only Do What Only You Can Do

098. throw exception

VBScript

JScript

Perl

PHP

Python

Ruby

PowerShell

Scala

F#

C

C++

throw exception();

C++Builder

VC++

C#

throw new System.Exception("failed");

Java

throw new Exception("failed");

Objective-C

NSException *exc = [NSException exceptionWithName:@"error" reason:@"failed" userInfo:nil];
@throw exc;

D

VB

VB.NET

Delphi

Ada

PL/SQL

T-SQL

関数型

inserted by FC2 system