001 package org.hackystat.sensor.xmldata.util; 002 003 /** 004 * Thrown when exceptions occur during string list encoding and decoding. This class implements 005 * exception chaining. Use printStackTrace to see all exceptions. 006 * 007 * @author Philip Johnson 008 * @version $Id: StringListCodecException.java,v 1.1.1.1 2005/10/20 23:56:44 johnson Exp $ 009 */ 010 @SuppressWarnings("serial") 011 public class StringListCodecException extends Exception { 012 013 /** 014 * Thrown when exceptions occur during string list encoding and decoding. 015 * 016 * @param detailMessage A message describing the problem. 017 * @param previousException A possibly null reference to a prior exception. 018 */ 019 public StringListCodecException(String detailMessage, Throwable previousException) { 020 super(detailMessage, previousException); 021 } 022 023 /** 024 * Thrown when exceptions occur during elapsed time processing. 025 * 026 * @param detailMessage A message describing the problem. 027 */ 028 public StringListCodecException(String detailMessage) { 029 super(detailMessage, null); 030 } 031 032 033 }