case 'BinariesException-3': // Binary is invalid
case 'BinariesException-4': // Binary changeset is invalid
case 'BinariesException-5': // Cannot delete binary that succeeded code review
case 'BinariesException-6': // Could not load from path
case 'BinariesException-7': // Binary is getting checked although not waiting for code review
case 'BinariesException-8': // Failed storing encrypted binary
case 'BinariesException-9': // Ioncube encryption failed
case 'PluginLicensesException-6': // Deserialization failed.
case 'OrdersException-2': // Deserialization failed
case 'UsersException-5': // Deserialization failed
case 'UserShopsException-8': // Could not find software version.
throw new SbpServerException($sbpCode, 'server_error',
$httpCode,
$requestException);
case 'BinariesException-10': // Shopware version not given
case 'BinariesException-12': // Shopware version is invalid
throw new SbpServerException($sbpCode, 'shopware_version',
$httpCode,
$requestException);
case 'BinariesException-11': // No fitting binary found
throw new LicenceException($sbpCode, 'no_fitting_binary',
$httpCode,
$requestException);
case 'BinariesException-13':
throw new SbpServerException($sbpCode, 'plugin_name_not_found',
$httpCode,
$requestException);
case 'BinariesException-14':
throw new AuthenticationException($sbpCode, 'token_invalid',
$httpCode,
$requestException);
case 'BinariesException-15':
throw new SbpServerException($sbpCode, 'plugin_licence_not_found',
$httpCode,
$requestException);