Messages.getString( "error.type.not.set", Locale.getDefault( ) ) );
Messages.getString( "error.type.not.set" ) );
	private final int getJavaType( ) throws ChartException	{		if ( !isSetType( ) )		{			throw new ChartException( ChartEnginePlugin.ID,					ChartException.UNDEFINED_VALUE,					Messages.getString( "error.type.not.set", Locale.getDefault( ) ) ); //$NON-NLS-1$		}		switch ( getType( ).getValue( ) )		{			case DateFormatType.SHORT :				return DateFormat.SHORT;			case DateFormatType.MEDIUM :				return DateFormat.MEDIUM;			case DateFormatType.LONG :				return DateFormat.LONG;			case DateFormatType.FULL :				return DateFormat.FULL;		}		return 0;	}