001 package edu.nrao.sss.astronomy; 002 003 /** 004 * Thrown to indicate that something has gone wrong during conversion 005 * from one celestial coordinate system to another. 006 * <p> 007 * This exception adds little to the base {@link Exception} class, 008 * except that creators are expected to furnish a message and an 009 * underlying cause. Consumers of this exception may test the 010 * type of the cause to determine proper handling. The main reason 011 * this class exists is to package the many different things that 012 * can go wrong during a conversion into a single exception type.</p> 013 * <p> 014 * <b>Version Info:</b> 015 * <table style="margin-left:2em"> 016 * <tr><td>$Revision: 526 $</td></tr> 017 * <tr><td>$Date: 2007-04-16 12:32:57 -0600 (Mon, 16 Apr 2007) $</td></tr> 018 * <tr><td>$Author: dharland $</td></tr> 019 * </table></p> 020 * 021 * @author David M. Harland 022 * @since 2007-04-16 023 */ 024 public class CoordinateConversionException 025 extends Exception 026 { 027 private static final long serialVersionUID = 1L; 028 029 public CoordinateConversionException(String msg, Throwable cause) 030 { 031 super(msg, cause); 032 } 033 }