Added shell-specific exception class.