Hook command exception classes