# ij errors

`ij` might issue messages to inform the user of errors during processing of statements.

- ERROR SQLState
  When the underlying JDBC driver returns an SQLException, ij displays the SQLException message with the prefix "ERROR SQLState". If the SQLException has no SQLState associated with it, the prefix "ERROR (no SQLState)" is used.
- WARNING SQLState
  Upon completion of execution of any JDBC request, ij issues a getWarnings request and displays the SQLWarnings that are returned.
- IJ ERROR
  When ij runs into errors processing user commands, it prints out a message with the prefix "IJ ERROR".
- IJ WARNING
  ij displays warning messages to let the user know if behavior might be unexpected. ij warnings are prefixed with "IJ WARNING".
- JAVA ERROR
  When an unexpected Java exception occurs, ij prints a message with the prefix "JAVA ERROR".

Parent topic: ij commands and errors reference
Related concepts
ij commands
Related reference
Absolute command
After Last command
Async command
Autocommit command
Before First command
Close command
Commit command
Connect command
Describe command
Disconnect command
Driver command
Elapsedtime command
Execute command
Exit command
First command
Get Cursor command
Get Scroll Insensitive Cursor command
Help command
HoldForConnection command
Last command
LocalizedDisplay command
MaximumDisplayWidth command
Next command
NoHoldForConnection command
Prepare command
Previous command
Protocol command
Readonly command
Relative command
Remove command
Rollback command
Run command
Set Connection command
Show command
Wait For command
Syntax for comments in ij commands
Syntax for identifiers in ij commands
Syntax for strings in ij commands