<commit_before>package com.twitter.gizzard.sharding

import java.sql.SQLException


trait Shard {
  def shardInfo: ShardInfo
  def weight: Int
}

class ShardRejectedOperationException(description: String) extends SQLException(description)<commit_msg>fix exceptions to match the current deals.<commit_after>package com.twitter.gizzard.sharding


trait Shard {
  def shardInfo: ShardInfo
  def weight: Int
}

class ShardException(description: String) extends Exception(description)

class ShardTimeoutException extends ShardException("timeout")

class ShardRejectedOperationException(description: String) extends ShardException(description)
{'fraction_non_alphanumeric': 0.06583072100313479, 'fraction_numerical': 0.0, 'mean_word_length': 7.407894736842105, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3746345', 'n_tokens_mistral': 177, 'n_tokens_neox': 171, 'n_words': 46}