| |
|
| java.lang.Object org.hsqldb.Trace
Trace | public class Trace (Code) | | |
Method Summary | |
public static void | check(boolean condition, int code) | public static void | check(boolean condition, int code, Object add) | static void | check(boolean condition, int code, String add1, String add2) | static void | check(boolean condition, int code, String add1, String add2, String add3) | static void | check(boolean condition, int code, String add1, String add2, String add3, String add4) | static void | doAssert(boolean condition) | static void | doAssert(boolean condition, String error) | public static HsqlException | error(int code, int subCode, Object[] add) Compose error message by inserting the strings in the add parameters
in placeholders within the error message. | public static HsqlException | error(int code, Object[] add) Compose error message by inserting the strings in the add parameters
in placeholders within the error message. | public static HsqlException | error(int code, int code2, String add) | public static HsqlException | error(int code, int code2) | public static HsqlException | error(int code, Object add) | public static HsqlException | error(Result result) Return a new HsqlException according to the result parameter. | public static HsqlException | error(int code) | public static String | getMessage(int errorCode) Returns the error message given the error code.
Note: this method must be used when throwing exception other
than HsqlException . | public static String | getMessage(int errorCode, boolean substitute, Object[] values) Returns the error message given the error code.
Note: this method must be used when throwing exception other
than HsqlException . | public static void | printSystemOut(String message) | public static void | printSystemOut(String message1, long message2) | public static RuntimeException | runtimeError(int code, Object add) | static void | throwerror(int code, Object add) | static Result | toResult(HsqlException e) |
DATABASE_ALREADY_IN_USECONNECTION_IS_CLOSEDCONNECTION_IS_BROKENDATABASE_IS_SHUTDOWNCOLUMN_COUNT_DOES_NOT_MATCHDIVISION_BY_ZEROINVALID_ESCAPEINTEGRITY_CONSTRAINT_VIOLATIONVIOLATION_OF_UNIQUE_INDEXTRY_TO_INSERT_NULLUNEXPECTED_TOKENUNEXPECTED_END_OF_COMMANDUNKNOWN_FUNCTIONNEED_AGGREGATESUM_OF_NON_NUMERICWRONG_DATA_TYPECARDINALITY_VIOLATION_NO_SUBCLASSSERIALIZATION_FAILURETRANSFER_CORRUPTEDFUNCTION_NOT_SUPPORTEDTABLE_ALREADY_EXISTSTABLE_NOT_FOUNDINDEX_ALREADY_EXISTSSECOND_PRIMARY_KEYDROP_PRIMARY_KEYINDEX_NOT_FOUNDCOLUMN_ALREADY_EXISTSCOLUMN_NOT_FOUNDFILE_IO_ERRORWRONG_DATABASE_FILE_VERSIONDATABASE_IS_READONLYDATA_IS_READONLYACCESS_IS_DENIEDINPUTSTREAM_ERRORNO_DATA_IS_AVAILABLEUSER_ALREADY_EXISTSUSER_NOT_FOUNDASSERT_FAILEDEXTERNAL_STOPGENERAL_ERRORWRONG_OUT_PARAMETERFUNCTION_NOT_FOUNDTRIGGER_NOT_FOUNDSAVEPOINT_NOT_FOUNDLABEL_REQUIREDWRONG_DEFAULT_CLAUSEFOREIGN_KEY_NOT_ALLOWEDUNKNOWN_DATA_SOURCEBAD_INDEX_CONSTRAINT_NAMEDROP_FK_INDEXRESULTSET_FORWARD_ONLYVIEW_ALREADY_EXISTSVIEW_NOT_FOUNDNOT_USED_54NOT_A_TABLESYSTEM_INDEXCOLUMN_TYPE_MISMATCHBAD_ADD_COLUMN_DEFINITIONDROP_SYSTEM_CONSTRAINTCONSTRAINT_ALREADY_EXISTSCONSTRAINT_NOT_FOUNDINVALID_JDBC_ARGUMENTDATABASE_IS_MEMORY_ONLYOUTER_JOIN_CONDITIONNUMERIC_VALUE_OUT_OF_RANGEMISSING_SOFTWARE_MODULENOT_IN_AGGREGATE_OR_GROUP_BYINVALID_GROUP_BYINVALID_HAVINGINVALID_ORDER_BYINVALID_ORDER_BY_IN_DISTINCT_SELECTOUT_OF_MEMORYOPERATION_NOT_SUPPORTEDINVALID_IDENTIFIERTEXT_TABLE_SOURCETEXT_FILENOT_USED_77ERROR_IN_SCRIPT_FILENULL_IN_VALUE_LISTSOCKET_ERRORINVALID_CHARACTER_ENCODINGNOT_USED_82NOT_USED_83NOT_USED_84UNEXPECTED_EXCEPTIONNOT_USED_86NOT_USED_87NOT_USED_88NOT_USED_89NOT_USED_90NOT_USED_91NOT_USED_92NOT_USED_93DATABASE_NOT_EXISTSINVALID_CONVERSIONERROR_IN_BINARY_SCRIPT_1ERROR_IN_BINARY_SCRIPT_2GENERAL_IO_ERROREXPRESSION_NOT_SUPPORTEDConstraint_violationDatabase_dropTableERROR_IN_CONSTRAINT_COLUMN_LISTTABLE_HAS_NO_PRIMARY_KEYVIOLATION_OF_UNIQUE_CONSTRAINTNO_DEFAULT_VALUE_FOR_COLUMNNOT_A_CONDITIONDatabaseManager_getDatabaseNOT_USED_108NOT_USED_109NOT_USED_110NOT_USED_111NOT_USED_112DatabaseScriptReader_readDDLDatabaseScriptReader_readExistingDataMessage_PairLOAD_SAVE_PROPERTIESINVALID_TRANSACTION_STATE_NO_SUBCLASSJDBC_INVALID_BRI_SCOPEJDBC_NO_RESULT_SET_METADATAJDBC_NO_RESULT_SETMISSING_CLOSEBRACKETITSNS_OVERWRITECOLUMN_IS_IN_INDEXSTRING_DATA_TRUNCATIONQUOTED_IDENTIFIER_REQUIREDSTATEMENT_IS_CLOSEDNOT_USED_127NOT_USED_128DATA_FILE_ERRORNOT_USED_130HsqlDateTime_null_stringNOT_USED_132HsqlDateTime_null_dateNOT_USED_134HsqlProperties_loadHsqlSocketFactorySecure_verifyHsqlSocketFactorySecure_verify2jdbcConnection_nativeSQLHsqlSocketFactorySecure_verify3NOT_USED_140NOT_USED_141jdbcStatement_executeUpdateLockFile_checkHeartbeatLockFile_checkHeartbeat2TEXT_STRING_HAS_NEWLINEResult_ResultSERVER_NO_DATABASEServer_openServerSocketServer_openServerSocket2TEXT_TABLE_HEADERNOT_USED_151JDBC_PARAMETER_NOT_SETINVALID_LIMITJDBC_STATEMENT_NOT_ROW_COUNTJDBC_STATEMENT_NOT_RESULTSETAMBIGUOUS_COLUMN_REFERENCECHECK_CONSTRAINT_VIOLATIONJDBC_RESULTSET_IS_CLOSEDSINGLE_COLUMN_EXPECTEDTOKEN_REQUIREDNOT_USED_161NOT_USED_162ORDER_LIMIT_REQUIREDTRIGGER_ALREADY_EXISTSASSERT_DIRECT_EXEC_WITH_PARAMNOT_USED_166Expression_compareValuesINVALID_LIMIT_EXPRESSIONINVALID_TOP_EXPRESSIONSQL_CONSTRAINT_REQUIREDTableWorks_dropConstraintTEXT_TABLE_SOURCE_FILENAMETEXT_TABLE_SOURCE_VALUE_MISSINGTEXT_TABLE_SOURCE_SEPARATORUNSUPPORTED_PARAM_CLASSJDBC_NULL_STREAMINTEGRITY_CONSTRAINT_VIOLATION_NOPARENTNOT_USED_178NOT_USED_179QuotedTextDatabaseRowInput_getFieldQuotedTextDatabaseRowInput_getField2TextDatabaseRowInput_getFieldTextDatabaseRowInput_getField2TextDatabaseRowInput_getField3Parser_ambiguous_between1SEQUENCE_REFERENCED_BY_VIEWNOT_USED_187TextCache_openning_file_errorTextCache_closing_file_errorTextCache_purging_file_errorSEQUENCE_NOT_FOUNDSEQUENCE_ALREADY_EXISTSTABLE_REFERENCED_CONSTRAINTTABLE_REFERENCED_VIEWNOT_USED_195TEXT_SOURCE_EXISTSCOLUMN_IS_REFERENCEDFUNCTION_CALL_ERRORTRIGGERED_DATA_CHANGEINVALID_FUNCTION_ARGUMENTUNSUPPORTED_INTERNAL_OPERATIONNOT_USED_202INVALID_PREPARED_STATEMENTCREATE_TRIGGER_COMMAND_1TRIGGER_FUNCTION_CLASS_NOT_FOUNDNOT_USED_206NOT_USED_207INVALID_COLLATION_NAME_NO_SUBCLASSDataFileCache_makeRowDataFileCache_openDataFileCache_closeExpression_resolveTypes1Expression_resolveTypes2Expression_resolveTypes3Expression_resolveTypes4UNRESOLVED_PARAMETER_TYPEExpression_resolveTypes6Expression_resolveTypes7Expression_resolveTypeForLikeNOT_USED_220Expression_resolveTypeForIn2Session_executeNOT_USED_223NOT_USED_224DATA_FILE_IS_FULLTHREE_PART_IDENTIFIERINVALID_SCHEMA_NAME_NO_SUBCLASSDEPENDENT_DATABASE_OBJECT_EXISTSNO_SUCH_ROLE_GRANTNO_SUCH_ROLE_REVOKENONMOD_ACCOUNTNO_SUCH_GRANTEEMISSING_SYSAUTHMISSING_GRANTEECHANGE_GRANTEENULL_NAMEILLEGAL_ROLE_NAMEROLE_ALREADY_EXISTSNO_SUCH_ROLEMISSING_ROLEMANAGERGRANTEE_ALREADY_EXISTSMISSING_PUBLIC_GRANTEENONMOD_GRANTEECIRCULAR_GRANTALREADY_HAVE_ROLEDONT_HAVE_ROLENOT_USED_247RETRIEVE_NEST_ROLE_FAILNO_SUCH_RIGHTIN_SCHEMA_DEFINITIONPRIMARY_KEY_NOT_ALLOWEDCOLUMN_IS_IN_CONSTRAINTCOLUMN_SIZE_REQUIREDINVALID_SIZE_PRECISIONCANNOT_CONNECT_TABLELAST_ERROR_HANDLE | final public static int DATABASE_ALREADY_IN_USECONNECTION_IS_CLOSEDCONNECTION_IS_BROKENDATABASE_IS_SHUTDOWNCOLUMN_COUNT_DOES_NOT_MATCHDIVISION_BY_ZEROINVALID_ESCAPEINTEGRITY_CONSTRAINT_VIOLATIONVIOLATION_OF_UNIQUE_INDEXTRY_TO_INSERT_NULLUNEXPECTED_TOKENUNEXPECTED_END_OF_COMMANDUNKNOWN_FUNCTIONNEED_AGGREGATESUM_OF_NON_NUMERICWRONG_DATA_TYPECARDINALITY_VIOLATION_NO_SUBCLASSSERIALIZATION_FAILURETRANSFER_CORRUPTEDFUNCTION_NOT_SUPPORTEDTABLE_ALREADY_EXISTSTABLE_NOT_FOUNDINDEX_ALREADY_EXISTSSECOND_PRIMARY_KEYDROP_PRIMARY_KEYINDEX_NOT_FOUNDCOLUMN_ALREADY_EXISTSCOLUMN_NOT_FOUNDFILE_IO_ERRORWRONG_DATABASE_FILE_VERSIONDATABASE_IS_READONLYDATA_IS_READONLYACCESS_IS_DENIEDINPUTSTREAM_ERRORNO_DATA_IS_AVAILABLEUSER_ALREADY_EXISTSUSER_NOT_FOUNDASSERT_FAILEDEXTERNAL_STOPGENERAL_ERRORWRONG_OUT_PARAMETERFUNCTION_NOT_FOUNDTRIGGER_NOT_FOUNDSAVEPOINT_NOT_FOUNDLABEL_REQUIREDWRONG_DEFAULT_CLAUSEFOREIGN_KEY_NOT_ALLOWEDUNKNOWN_DATA_SOURCEBAD_INDEX_CONSTRAINT_NAMEDROP_FK_INDEXRESULTSET_FORWARD_ONLYVIEW_ALREADY_EXISTSVIEW_NOT_FOUNDNOT_USED_54NOT_A_TABLESYSTEM_INDEXCOLUMN_TYPE_MISMATCHBAD_ADD_COLUMN_DEFINITIONDROP_SYSTEM_CONSTRAINTCONSTRAINT_ALREADY_EXISTSCONSTRAINT_NOT_FOUNDINVALID_JDBC_ARGUMENTDATABASE_IS_MEMORY_ONLYOUTER_JOIN_CONDITIONNUMERIC_VALUE_OUT_OF_RANGEMISSING_SOFTWARE_MODULENOT_IN_AGGREGATE_OR_GROUP_BYINVALID_GROUP_BYINVALID_HAVINGINVALID_ORDER_BYINVALID_ORDER_BY_IN_DISTINCT_SELECTOUT_OF_MEMORYOPERATION_NOT_SUPPORTEDINVALID_IDENTIFIERTEXT_TABLE_SOURCETEXT_FILENOT_USED_77ERROR_IN_SCRIPT_FILENULL_IN_VALUE_LISTSOCKET_ERRORINVALID_CHARACTER_ENCODINGNOT_USED_82NOT_USED_83NOT_USED_84UNEXPECTED_EXCEPTIONNOT_USED_86NOT_USED_87NOT_USED_88NOT_USED_89NOT_USED_90NOT_USED_91NOT_USED_92NOT_USED_93DATABASE_NOT_EXISTSINVALID_CONVERSIONERROR_IN_BINARY_SCRIPT_1ERROR_IN_BINARY_SCRIPT_2GENERAL_IO_ERROREXPRESSION_NOT_SUPPORTEDConstraint_violationDatabase_dropTableERROR_IN_CONSTRAINT_COLUMN_LISTTABLE_HAS_NO_PRIMARY_KEYVIOLATION_OF_UNIQUE_CONSTRAINTNO_DEFAULT_VALUE_FOR_COLUMNNOT_A_CONDITIONDatabaseManager_getDatabaseNOT_USED_108NOT_USED_109NOT_USED_110NOT_USED_111NOT_USED_112DatabaseScriptReader_readDDLDatabaseScriptReader_readExistingDataMessage_PairLOAD_SAVE_PROPERTIESINVALID_TRANSACTION_STATE_NO_SUBCLASSJDBC_INVALID_BRI_SCOPEJDBC_NO_RESULT_SET_METADATAJDBC_NO_RESULT_SETMISSING_CLOSEBRACKETITSNS_OVERWRITECOLUMN_IS_IN_INDEXSTRING_DATA_TRUNCATIONQUOTED_IDENTIFIER_REQUIREDSTATEMENT_IS_CLOSEDNOT_USED_127NOT_USED_128DATA_FILE_ERRORNOT_USED_130HsqlDateTime_null_stringNOT_USED_132HsqlDateTime_null_dateNOT_USED_134HsqlProperties_loadHsqlSocketFactorySecure_verifyHsqlSocketFactorySecure_verify2jdbcConnection_nativeSQLHsqlSocketFactorySecure_verify3NOT_USED_140NOT_USED_141jdbcStatement_executeUpdateLockFile_checkHeartbeatLockFile_checkHeartbeat2TEXT_STRING_HAS_NEWLINEResult_ResultSERVER_NO_DATABASEServer_openServerSocketServer_openServerSocket2TEXT_TABLE_HEADERNOT_USED_151JDBC_PARAMETER_NOT_SETINVALID_LIMITJDBC_STATEMENT_NOT_ROW_COUNTJDBC_STATEMENT_NOT_RESULTSETAMBIGUOUS_COLUMN_REFERENCECHECK_CONSTRAINT_VIOLATIONJDBC_RESULTSET_IS_CLOSEDSINGLE_COLUMN_EXPECTEDTOKEN_REQUIREDNOT_USED_161NOT_USED_162ORDER_LIMIT_REQUIREDTRIGGER_ALREADY_EXISTSASSERT_DIRECT_EXEC_WITH_PARAMNOT_USED_166Expression_compareValuesINVALID_LIMIT_EXPRESSIONINVALID_TOP_EXPRESSIONSQL_CONSTRAINT_REQUIREDTableWorks_dropConstraintTEXT_TABLE_SOURCE_FILENAMETEXT_TABLE_SOURCE_VALUE_MISSINGTEXT_TABLE_SOURCE_SEPARATORUNSUPPORTED_PARAM_CLASSJDBC_NULL_STREAMINTEGRITY_CONSTRAINT_VIOLATION_NOPARENTNOT_USED_178NOT_USED_179QuotedTextDatabaseRowInput_getFieldQuotedTextDatabaseRowInput_getField2TextDatabaseRowInput_getFieldTextDatabaseRowInput_getField2TextDatabaseRowInput_getField3Parser_ambiguous_between1SEQUENCE_REFERENCED_BY_VIEWNOT_USED_187TextCache_openning_file_errorTextCache_closing_file_errorTextCache_purging_file_errorSEQUENCE_NOT_FOUNDSEQUENCE_ALREADY_EXISTSTABLE_REFERENCED_CONSTRAINTTABLE_REFERENCED_VIEWNOT_USED_195TEXT_SOURCE_EXISTSCOLUMN_IS_REFERENCEDFUNCTION_CALL_ERRORTRIGGERED_DATA_CHANGEINVALID_FUNCTION_ARGUMENTUNSUPPORTED_INTERNAL_OPERATIONNOT_USED_202INVALID_PREPARED_STATEMENTCREATE_TRIGGER_COMMAND_1TRIGGER_FUNCTION_CLASS_NOT_FOUNDNOT_USED_206NOT_USED_207INVALID_COLLATION_NAME_NO_SUBCLASSDataFileCache_makeRowDataFileCache_openDataFileCache_closeExpression_resolveTypes1Expression_resolveTypes2Expression_resolveTypes3Expression_resolveTypes4UNRESOLVED_PARAMETER_TYPEExpression_resolveTypes6Expression_resolveTypes7Expression_resolveTypeForLikeNOT_USED_220Expression_resolveTypeForIn2Session_executeNOT_USED_223NOT_USED_224DATA_FILE_IS_FULLTHREE_PART_IDENTIFIERINVALID_SCHEMA_NAME_NO_SUBCLASSDEPENDENT_DATABASE_OBJECT_EXISTSNO_SUCH_ROLE_GRANTNO_SUCH_ROLE_REVOKENONMOD_ACCOUNTNO_SUCH_GRANTEEMISSING_SYSAUTHMISSING_GRANTEECHANGE_GRANTEENULL_NAMEILLEGAL_ROLE_NAMEROLE_ALREADY_EXISTSNO_SUCH_ROLEMISSING_ROLEMANAGERGRANTEE_ALREADY_EXISTSMISSING_PUBLIC_GRANTEENONMOD_GRANTEECIRCULAR_GRANTALREADY_HAVE_ROLEDONT_HAVE_ROLENOT_USED_247RETRIEVE_NEST_ROLE_FAILNO_SUCH_RIGHTIN_SCHEMA_DEFINITIONPRIMARY_KEY_NOT_ALLOWEDCOLUMN_IS_IN_CONSTRAINTCOLUMN_SIZE_REQUIREDINVALID_SIZE_PRECISIONCANNOT_CONNECT_TABLELAST_ERROR_HANDLE(Code) | | |
DOASSERT | final public static boolean DOASSERT(Code) | | |
STOP | final public static boolean STOP(Code) | | |
TRACE | public static boolean TRACE(Code) | | |
TRACESYSTEMOUT | public static boolean TRACESYSTEMOUT(Code) | | |
bundleHandle | static int bundleHandle(Code) | | |
check | public static void check(boolean condition, int code) throws HsqlException(Code) | | Throws exception if condition is false
Parameters: condition - Parameters: code - throws: HsqlException - |
check | public static void check(boolean condition, int code, Object add) throws HsqlException(Code) | | Throws exception if condition is false
Parameters: condition - Parameters: code - Parameters: add - throws: HsqlException - |
check | static void check(boolean condition, int code, String add1, String add2) throws HsqlException(Code) | | Throws exception if condition is false
Parameters: condition - Parameters: code - Parameters: add1 - Parameters: add2 - throws: HsqlException - |
check | static void check(boolean condition, int code, String add1, String add2, String add3) throws HsqlException(Code) | | Throws exception if condition is false
Parameters: condition - Parameters: code - Parameters: add1 - Parameters: add2 - Parameters: add3 - throws: HsqlException - |
check | static void check(boolean condition, int code, String add1, String add2, String add3, String add4) throws HsqlException(Code) | | Throws exception if condition is false
Parameters: condition - Parameters: code - Parameters: add1 - Parameters: add2 - Parameters: add3 - Parameters: add4 - throws: HsqlException - |
doAssert | static void doAssert(boolean condition, String error) throws HsqlException(Code) | | Throws exception if assertion fails
Parameters: condition - Parameters: error - throws: HsqlException - |
error | public static HsqlException error(int code, int subCode, Object[] add)(Code) | | Compose error message by inserting the strings in the add parameters
in placeholders within the error message. The message string contains
$$ markers for each context variable. Context variables are supplied in
the add parameters.
Parameters: code - main error code Parameters: subCode - sub error code (if 0 => no subMessage!) Parameters: add - optional parameters an HsqlException |
error | public static HsqlException error(int code, Object[] add)(Code) | | Compose error message by inserting the strings in the add parameters
in placeholders within the error message. The message string contains
$$ markers for each context variable. Context variables are supplied in
the add parameters.
Parameters: code - main error code Parameters: add - optional parameters an HsqlException |
error | public static HsqlException error(Result result)(Code) | | Return a new HsqlException according to the result parameter.
Parameters: result - the Result associated with the exception a new HsqlException according to the result parameter |
getMessage | public static String getMessage(int errorCode)(Code) | | Returns the error message given the error code.
Note: this method must be used when throwing exception other
than HsqlException .
Parameters: errorCode - the error code associated to the error message the error message associated with the error code See Also: Trace.sDescription |
getMessage | public static String getMessage(int errorCode, boolean substitute, Object[] values)(Code) | | Returns the error message given the error code.
Note: this method must be used when throwing exception other
than HsqlException .
Parameters: errorCode - the error code associated to the error message Parameters: substitute - substitute the $$ tokens using data in the values Parameters: values - value(s) to use to replace the token(s) the error message associated with the error code See Also: Trace.sDescription |
printSystemOut | public static void printSystemOut(String message)(Code) | | Used to print messages to System.out
Parameters: message - message to print |
printSystemOut | public static void printSystemOut(String message1, long message2)(Code) | | Used to print messages to System.out
Parameters: message1 - message to print Parameters: message2 - message to print |
|
|
|