Added definition for command exception