<commit_before>package com.n9mtq4.botclient

/**
 * Created by will on 12/4/15 at 3:48 PM.
 * 
 * This exception is thrown when you don't have enough action points to
 * do something.
 * 
 * @author Will "n9Mtq4" Bresnahan
 */
class NotEnoughActionPointsException(val msg: String) : Exception(msg) {
	
	constructor(need: Int, have: Int, action: String) : this("Not enough action points to perform action: $action. Need: $need, have: $have, diff:${have - need}!")
	
}

/**
 * Created by will on 12/4/15 at 3:48 PM.
 *
 * This exception is thrown when you don't have enough mana points to
 * do something.
 *
 * @author Will "n9Mtq4" Bresnahan
 */
class NotEnoughManaPointsException(val msg: String) : Exception(msg) {
	
	constructor(need: Int, have: Int, action: String) : this("Not enough mana points to perform action: $action. Need: $need, have: $have, diff:${have - need}!")
	
}<commit_msg>little change for backwards compatibility<commit_after>package com.n9mtq4.botclient

/**
 * Created by will on 12/4/15 at 3:48 PM.
 * 
 * This exception is thrown when you don't have enough action points to
 * do something.
 * 
 * @author Will "n9Mtq4" Bresnahan
 */
class NotEnoughActionPointsException(msg: String) : CantPerformActionException(msg) {
	
	constructor(need: Int, have: Int, action: String) : this("Not enough action points to perform action: $action. Need: $need, have: $have, diff:${have - need}!")
	
}

/**
 * Created by will on 12/4/15 at 3:48 PM.
 *
 * This exception is thrown when you don't have enough mana points to
 * do something.
 *
 * @author Will "n9Mtq4" Bresnahan
 */
class NotEnoughManaPointsException(msg: String) : CantPerformActionException(msg) {
	
	constructor(need: Int, have: Int, action: String) : this("Not enough mana points to perform action: $action. Need: $need, have: $have, diff:${have - need}!")
	
}

/**
 * Created by will on 12/21/15 at 8:40 PM.
 *
 * This exception is thrown when you can't perform an action.
 * The superclass for [NotEnoughActionPointsException] and
 * [NotEnoughManaPointsException].
 *
 * @author Will "n9Mtq4" Bresnahan
 */
open class CantPerformActionException(val msg: String) : Exception(msg)
{'fraction_non_alphanumeric': 0.12124016658954188, 'fraction_numerical': 0.025451180009254976, 'mean_word_length': 4.234866828087167, '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': '1463181', 'n_tokens_mistral': 745, 'n_tokens_neox': 695, 'n_words': 244}