throw new RuntimeException("ERROR! Series of type " + series.getClass().getName() + " is an invalid argument for LineSeriesAttributeComposite.");
throw new RuntimeException("ERROR! Series of type " + series.getClass().getName() + Messages.getString("LineSeriesAttributeComposite.Exception.IllegalArgument"));
    public LineSeriesAttributeComposite(Composite parent, int style, Series series)    {        super(parent, style);        if (!(series instanceof LineSeriesImpl))        {            throw new RuntimeException("ERROR! Series of type " + series.getClass().getName()                + " is an invalid argument for LineSeriesAttributeComposite.");        }        this.series = series;        init();        placeComponents();    }