check if this command has been canceled , and throw an exception if yes . concode_field_sep boolean cancel concode_elem_sep Trace trace concode_elem_sep Session session concode_elem_sep long startTime concode_elem_sep boolean canReuse concode_elem_sep String sql concode_field_sep void cancel concode_elem_sep void reuse concode_elem_sep ResultInterface queryMeta concode_elem_sep ResultInterface query concode_elem_sep void start concode_elem_sep void setProgress concode_elem_sep long filterConcurrentUpdate concode_elem_sep boolean isTransactional concode_elem_sep boolean isQuery concode_elem_sep int update concode_elem_sep ResultInterface executeQuery concode_elem_sep void prepareJoinBatch concode_elem_sep boolean isCacheable concode_elem_sep boolean isReadOnly concode_elem_sep void stop concode_elem_sep ArrayList<? extends ParameterInterface> getParameters concode_elem_sep String toString concode_elem_sep ResultInterface getMetaData concode_elem_sep void close concode_elem_sep boolean canReuse concode_elem_sep int executeUpdate
void function ( ) { if ( cancel ) { cancel = false ; throw DbException . get ( ErrorCode . STATEMENT_WAS_CANCELED ) ; } }