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