Package uk.ac.starlink.ttools.plottask
Class PlotDataException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- uk.ac.starlink.ttools.plottask.PlotDataException
-
- All Implemented Interfaces:
java.io.Serializable
public class PlotDataException extends java.lang.RuntimeException
Exception used for exporting errors from the plot system. This exception is unchecked, but can be used to contain a checked exception, especially an IOException. It is required in this package because the plotting classes do not declare checked exceptions, but the table data access classes declare IOExceptions. Code which invokes thepaint
methods of the plotting components should therefore check for such exceptions being thrown even though the compiler does not enforce this.- Since:
- 22 Apr 2008
- Author:
- Mark Taylor
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PlotDataException(java.io.IOException e)
Constructor based on an IOException.PlotDataException(java.lang.String msg, java.lang.Throwable e)
Constructor based on an arbitrary throwable.
-
-
-
Constructor Detail
-
PlotDataException
public PlotDataException(java.io.IOException e)
Constructor based on an IOException.- Parameters:
e
- cause
-
PlotDataException
public PlotDataException(java.lang.String msg, java.lang.Throwable e)
Constructor based on an arbitrary throwable.- Parameters:
msg
- messagee
- cause
-
-