Class: TC_Integration_Aggregate::RaiseExceptionNewAggregateHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_aggregate.rb,
lib/sqlite3-1.5.3-x86_64-darwin/test/test_integration_aggregate.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRaiseExceptionNewAggregateHandler

Returns a new instance of RaiseExceptionNewAggregateHandler.

Raises:



284
285
286
# File 'lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_aggregate.rb', line 284

def initialize
  raise CustomException.new( "bogus aggregate handler" )
end

Class Method Details

.nameObject



282
# File 'lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_aggregate.rb', line 282

def name; "raiseexception"; end

Instance Method Details

#finalize(ctx) ⇒ Object



288
# File 'lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_aggregate.rb', line 288

def finalize(ctx); ctx.result = nil; end

#step(ctx, a) ⇒ Object



287
# File 'lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_aggregate.rb', line 287

def step(ctx, a); end