<commit_before>/*
 * $Id$
 *
 * Copyright 2004 Wanadoo Nederland B.V.
 * See the COPYRIGHT file for redistribution and use restrictions.
 */
package org.xins.common;

/**
 * Indication of a programming error.
 *
 * @version $Revision$ $Date$
 * @author <NAME> (<a href="mailto:<EMAIL>"><EMAIL></a>)
 *
 * @since XINS 1.1.0
 */
public final class ProgrammingError extends Error {

   // TODO: Review this class

   //-------------------------------------------------------------------------
   // Class fields
   //-------------------------------------------------------------------------

   //-------------------------------------------------------------------------
   // Class functions
   //-------------------------------------------------------------------------

   //-------------------------------------------------------------------------
   // Constructors
   //-------------------------------------------------------------------------

   /**
    * Constructs a new <code>ProgrammingError</code> with the specified detail
    * message and cause exception.
    */
   public ProgrammingError(String detail, Throwable cause) {
      super(detail);
      initCause(cause);
   }

<commit_msg>Added 2nd constructor.<commit_after>/*
 * $Id$
 *
 * Copyright 2004 Wanadoo Nederland B.V.
 * See the COPYRIGHT file for redistribution and use restrictions.
 */
package org.xins.common;

/**
 * Indication of a programming error.
 *
 * @version $Revision$ $Date$
 * @author <NAME> (<a href="mailto:<EMAIL>"><EMAIL></a>)
 *
 * @since XINS 1.1.0
 */
public final class ProgrammingError extends Error {

   // TODO: Review this class

   //-------------------------------------------------------------------------
   // Class fields
   //-------------------------------------------------------------------------

   //-------------------------------------------------------------------------
   // Class functions
   //-------------------------------------------------------------------------

   //-------------------------------------------------------------------------
   // Constructors
   //-------------------------------------------------------------------------

   /**
    * Constructs a new <code>ProgrammingError</code> with the specified detail
    * message.
    *
    * @param detail
    *    the detail message, can be <code>null</code>.
    */
   public ProgrammingError(String detail) {
      super(detail);
   }

   /**
    * Constructs a new <code>ProgrammingError</code> with the specified detail
    * message and cause exception.
    *
    * @param detail
    *    the detail message, can be <code>null</code>.
    *
    * @param cause
    *    the cause exception, can be <code>null</code>.
    */
   public ProgrammingError(String detail, Throwable cause) {
      super(detail, cause);
   }


{'fraction_non_alphanumeric': 0.40298507462686567, 'fraction_numerical': 0.005330490405117271, 'mean_word_length': 0.9535045107564192, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '5558994', 'n_tokens_mistral': 636, 'n_tokens_neox': 601, 'n_words': 173}