|
@@ -239,15 +239,15 @@ bbdoc: Runtime exception
|
|
about: Thrown by #RuntimeError.
|
|
about: Thrown by #RuntimeError.
|
|
End Rem
|
|
End Rem
|
|
Type TRuntimeException Extends TBlitzException
|
|
Type TRuntimeException Extends TBlitzException
|
|
- Field error$
|
|
|
|
- Method ToString$() Override
|
|
|
|
|
|
+ Field error:String
|
|
|
|
+
|
|
|
|
+ Method New(error:String)
|
|
|
|
+ Self.error = error
|
|
|
|
+ End Method
|
|
|
|
+
|
|
|
|
+ Method ToString:String() Override
|
|
Return error
|
|
Return error
|
|
End Method
|
|
End Method
|
|
- Function Create:TRuntimeException( error$ )
|
|
|
|
- Local t:TRuntimeException=New TRuntimeException
|
|
|
|
- t.error=error
|
|
|
|
- Return t
|
|
|
|
- End Function
|
|
|
|
End Type
|
|
End Type
|
|
|
|
|
|
Rem
|
|
Rem
|
|
@@ -289,7 +289,7 @@ bbdoc: Generate a runtime error
|
|
about: Throws a #TRuntimeException.
|
|
about: Throws a #TRuntimeException.
|
|
End Rem
|
|
End Rem
|
|
Function RuntimeError( message$ )
|
|
Function RuntimeError( message$ )
|
|
- Throw TRuntimeException.Create( message )
|
|
|
|
|
|
+ Throw New TRuntimeException( message )
|
|
End Function
|
|
End Function
|
|
|
|
|
|
Rem
|
|
Rem
|