org.jfree.chart.plot
Class PlotNotCompatibleException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.jfree.chart.plot.PlotNotCompatibleException
All Implemented Interfaces:
java.io.Serializable

public class PlotNotCompatibleException
extends java.lang.RuntimeException

An exception that is generated when assigning a plot to a chart *if* the plot is not compatible with the chart's current data source. For example, a HorizontalBarPlot is not compatible with an XYDataset.

Author:
David Gilbert
See Also:
Serialized Form

Constructor Summary
PlotNotCompatibleException(java.lang.String message)
          Constructs a new exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlotNotCompatibleException

public PlotNotCompatibleException(java.lang.String message)
Constructs a new exception.

Parameters:
message - a message describing the exception.