[ | db | db := SQLiteDatabase openOrCreateDatabase: '/data/data/net.smalltalking.s8.jx8/testdb' factory: nil. db class = SQLiteDatabase ifTrue: [ self print: 'DB successfully created or opened' ] ifFalse: [ self print: 'DB could not be created' ]. ] on: Error do: [:ex | self print: 'DB could not be created' ]